|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-01-05 19:55 UTC] bjori@php.net
[2009-01-07 18:08 UTC] bjori@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 11 10:00:01 2025 UTC |
Description: ------------ In phpdoc/en/reference/xml/functions/xml_set_processing_instruction_hand ler.xml, there is an informal example ... <informalexample> <programlisting><?<replaceable>target</replaceable> <replaceable>data</replaceable>?> </programlisting> </informalexample> When built using phd, this becomes ... <div class="informalexample"> <div class="example-contents"><?<span class="replaceable">target</span> <span class="replaceable">data</span>?><br /> </div> The < is no longer escaped. As such, online this looks like ... target data?> and when compiling the CHM you get an error ... HHC3004: Warning: function.xml-set-processing-instruction- handler.html : The HTML tag "?<span class="replaceable"" is not a valid HTML tag (it does not begin with an alphanumeric character). The <? is coming through unescaped and IE/FF/Chrome think it is broken HTML and the CHM compiler is also just as confused. This is not a duplicate of http://bugs.php.net/bug.php?id=34281