Webmastersite.net
Register Log In

Errant space before DOCTYPE

Comments on Errant space before DOCTYPE

lsalberg
Beginner

Usergroup: Customer
Joined: Aug 31, 2008
Location: Melbourne, FL

Total Topics: 3
Total Comments: 7
Posted Sep 04, 2008 - 1:06 AM:

It appears that a space is being output prior to the DOCTYPE declaration in the default wrapper.tpl file. I've verified that there is no space in the template editor itself, or in the actual template file on the server by inspecting it via FTP afterward.

I've tried to look through the code to see where the template file is parsed but as of yet, I've not found it. But it is outputting that errant space somehow.

Just in case anyone is wondering why I care, I've changed my DOCTYPE to Strict 1.0 with UTF-8 encoding and the space (I believe!) is causing the character encoding to default back to my server standard of 8859-1.

Thanks for any help you can lend.

Just as an aside, I've always changed my DOCTYPE/encoding on even old versions (3.x) in which no space was ever output.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 05, 2008 - 6:47 AM:

Fixed.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.