Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty Lines / Quirks Mode #14

Open
gmuehl opened this issue Feb 28, 2014 · 0 comments
Open

Empty Lines / Quirks Mode #14

gmuehl opened this issue Feb 28, 2014 · 0 comments

Comments

@gmuehl
Copy link

gmuehl commented Feb 28, 2014

For some strange Reason Smarty adds an empty Line before the Doctype, which sends the Browser in Quirks Mode. Solution was pretty simple:

SmartyRender.php line 144:

$this->__content = trim($this->smarty->fetch($this->__file));

just added a trim(). See this as a Pull Request ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant