Quote:
Originally Posted by tgreer
Yep, the problem is with nested HTML comments.
Evidently, you capture the first "-->" to end the comment, so anything else, including the real final "-->" is html-encoded and added to the response stream.
Deleting the internal comment-blocks solved the issue, but it might be something you look at.
|
I will look at this and make an update! :up:
Quote:
Originally Posted by emin3m
replace
Code:
$output = preg_replace('/>[\s]+</', "> <" ,$output );
with
Code:
$output = preg_replace('/>[\s]+</', "><" ,$output );
save more 
1%-3%
|
Only problem here is this WILL break certain spots of your style since intentional spaces are cut out as well!
That's why I added the space, see a few pages earlier.