phpdoctor icon indicating copy to clipboard operation
phpdoctor copied to clipboard

HTML entities in sources are not converted before display

Open macik opened this issue 8 years ago • 0 comments

<a name="line4299"></a>         $left = $length - $total_length;
<a name="line4300"></a>         if ($plain_mode || ($plain_tag &amp;&amp; $tag))
<a name="line4301"></a>         {
<a name="line4302"></a>             // treats text as plain in <pre>, <plaintext> tags
&lt;a name="line4303"&gt;&lt;/a&gt;             $content = $plain_mode ? $line_matchings[0] : $line_matchings[2];
&lt;a name="line4304"&gt;&lt;/a&gt;             if (mb_strlen($content) &lt;= $left)
&lt;a name="line4305"&gt;&lt;/a&gt;             {

in line line4302: <pre> tags in comments are not converted and thus we get mess with further code.

macik avatar Mar 28 '16 21:03 macik