[ wxwindows-Bugs-1116708 ] wxHTML - End tag inside a comment ends comment

SourceForge.net noreply at sourceforge.net
Sun Apr 8 14:03:30 PDT 2007


Bugs item #1116708, was opened at 2005-02-05 07:31
Message generated for change (Comment added) made by vadz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1116708&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: HTML
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 2
Private: No
Submitted By: Randall Fox (rcfox)
Assigned to: Vaclav Slavik (vaclavslavik)
Summary: wxHTML - End tag inside a comment ends comment

Initial Comment:
I am using 2.4.2 on Windows XP..  If I use the
samples/html/test program as a testbed,  I get the
following:


The comment tag is being terminated early. 
Specifically, it looks like the text inside the comment
tags is being evaluated and the first closing tags
closes the comment early.


-------  INPUT TO WXHTML--------------------
<MYTEST>
<!--
THIS
</MYTEST>
</MYTEST>
IS A TEST
-->
</MYTEST>
---------  END OF INPUT   -------------------------

------  OUTPUT FROM WXHTML -----------

IS A TEST -->

-------  END OF OUTPUT  --------------

----------------------------------------------------------------------

>Comment By: Vadim Zeitlin (vadz)
Date: 2007-04-08 23:03

Message:
Logged In: YES 
user_id=71618
Originator: NO

Thanks for the patch, fixed now, i.e. in wx 3 (better late than never...)

----------------------------------------------------------------------

Comment By: Randall Fox (rcfox)
Date: 2005-03-22 20:04

Message:
Logged In: YES 
user_id=1084781

Its been a while, sorry for the delay!

I just submitted a patch for this bug, see patch #1168583

Randall Fox

----------------------------------------------------------------------

Comment By: Randall Fox (rcfox)
Date: 2005-02-09 10:16

Message:
Logged In: YES 
user_id=1084781

I have fixed this and will be uploading a patch when I get a
spare moment. 

The problem was that the html cache was caching the html
inside the comments.  The fix was to essentially suspend
caching inside the comment block.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1116708&group_id=9863




More information about the wx-dev mailing list