Fix #77890: DOMDocument XML formatting (formatOutput) doesn't seem to work

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351000 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-10-26 11:55:44 +00:00
parent af5f2f87b3
commit dd0cbeacdb

View file

@ -221,7 +221,11 @@
<varlistentry xml:id="domdocument.props.formatoutput">
<term><varname>formatOutput</varname></term>
<listitem>
<para>Nicely formats output with indentation and extra space.</para>
<para>
Nicely formats output with indentation and extra space.
This has no effect if the document was loaded with
<varname linkend="domdocument.props.preservewhitespace">preserveWhitespace</varname> enabled.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="domdocument.props.implementation">
@ -236,7 +240,11 @@
<varlistentry xml:id="domdocument.props.preservewhitespace">
<term><varname>preserveWhiteSpace</varname></term>
<listitem>
<para>Do not remove redundant white space. Default to &true;.</para>
<para>
Do not remove redundant white space. Default to &true;.
Setting this to &false; has the same effect as passing <constant>LIBXML_NOBLANKS</constant>
as <parameter>option</parameter> to <methodname>DOMDocument::load</methodname> etc.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="domdocument.props.recover">