Details
-
Improvement
-
Resolution: Unresolved
-
Medium
-
None
-
4.6.0
-
None
Description
Hi,
We recently made some updates to our template code for SEO purposes, mainly
removing whitespace/empty lines, to display the start of our content within the
first 100 lines of HTML.
We found that line breaks after comments were not omitted, which resulted in
our content being pushed further down the HTML source.
An example:
Line 1 Line 2 {*Line 3*} Line 4
Produces this HTML:
Line 1 Line 2 Line 4
We think that lines that only have a comment should be completely ignored,
including the line break, producing this HTML:
Line 1 Line 2 Line 4