<div dir="ltr"><br><br><br><div class="gmail_quote">On Tue, May 24, 2011 at 12:21, José Mejuto <span dir="ltr"><<a href="mailto:joshyfun@gmail.com">joshyfun@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello FPC-Pascal,<br>
<br>
Tuesday, May 24, 2011, 10:09:03 AM, you wrote:<br>
<br>
i> I've created a patch with the Escape and unEscape functions, and place it<br>
i> here: <a href="http://bugs.freepascal.org/view.php?id=19407" target="_blank">http://bugs.freepascal.org/view.php?id=19407</a><br>
<br>
Un/escapeHTML parsing must be in one go, specially the "&" one. Test against:<br>
<br>
"&lt;"<br></blockquote><div><br>I'm not sure what you mean here.<br><br>If you have already html entities you should not escape them. If you do not have html entities you should escape them.<br>The Escaping and unescaping works well, I already tested them before I sent them.<br>
<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Right unescape "<", your code "<".<br>
<br>
--<br>
Best regards,<br>
<font color="#888888"> José<br></font></blockquote><div><br>Ido<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><font color="#888888">
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
</div></div></blockquote></div><br></div>