bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PHP: htags: error in html-escaping


From: Patrick Strasser
Subject: PHP: htags: error in html-escaping
Date: Mon, 18 Jul 2005 14:33:28 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050602 Thunderbird/1.0.2 Mnenhy/0.7.2.0

Hello!

Have found some more issues with htags and PHP:

source is:
618                 -->
619                 </script>
620 <a name="article_zoom_in" href="javascript:zoom_arti 620 cle();"
621                   >
622 <img alt="zoom" src="../images/other/Lupe-20.gif" st 622 yle="border: 1px solid black;";/></a> 623 <img name="article_image" id="article_image" src="$i 623 mg_FarbGr"
624                     alt="$alt" width="$width" height="$height"
625                     style="border: thin solid black;"
626
627                     ><!-- onLoad="imageLoaded()" -->
628                 </img>
629

htags -afFngosx produces (html-output):

</a><a id="L618" name="L618"> 618                 --&gt;
</a><a id="L619" name="L619"> 619                 &lt;/script&gt;
</a><a id="L620" name="L620"> 620                 </a><a
  name="article_zoom_in" href="javascript:zoom_article();"></a><a
  id="L621" name="L621"> 621                   &gt;
</a><a id="L622" name="L622"> 622                 <img alt="zoom"
  src="../images/other/Lupe-20.gif" style="border: 1px solid black;"
  ;=""></a>
<a id="L623" name="L623"> 623                 <img name="article_image"
id="article_image" src="$img_FarbGr"></a><a id="L624" name="L624"> 624
  alt="$alt" width="$width" height="$height"
</a><a id="L625" name="L625"> 625                     style="border:
  thin solid black;"
</a><a id="L626" name="L626"> 626
</a><a id="L627" name="L627"> 627                     &gt;<!--
  onLoad="imageLoaded()" -->
</a><a id="L628" name="L628"> 628
</a><a id="L629" name="L629"> 629

After that html-output is not usefull any more, skips lots of lines with code, and eventually does some markup like for keywords, bold...

Patrick
--
Engineers motto: cheap, good, fast: choose any two
Patrick Strasser <patrick dot strasser at  tugraz dot at>
Student of Telematik, Techn. University Graz, Austria




reply via email to

[Prev in Thread] Current Thread [Next in Thread]