Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
1.2.6, 1.3.0-beta2
-
None
Description
Having an html page like this:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Results in output of this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Notice the blank line before the DOCTYPE. Line and newline should be removed if getStripXmlDeclarationFromOutput() is set.