Reputation: 2728
i have a codeigniter application.
I am not sure what is going wrong! I have extra tabs added to the start of the output.
<!DOCTYPE html>
<!--[if IE 8]>
<html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]>
<html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8"/>
In the above HTML output, before the <!DOCTYPE html>
there are extra spaces added to the output.
any suggestions what could possible cause this. I have not modified the output class at all.
Please suggest!
This is causing a lot of problems when i generate an XML document, specially wsdl XML for creating a soap server.
Upvotes: 0
Views: 46
Reputation: 12042
The solution might be in this thread. Are you closing your php tags ?
It's actually a CI FAQ (Search "whitespace").
Upvotes: 2