HtmlEditor :  Phorum 5 The fastest message board... ever.

This is the discussion forum for the HtmlEditor. See also the HtmlEditor home page, where you can download the control, and the Documentation Wiki, a collaborative project for documenting the control.

Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
New version's (without MSHTML dependency) closing tags problem
Posted by: antenna (77.35.41.---)
Date: Tuesday, 07-Aug-2007, 04:36:06

Hi, I use HtmlEditor for my projects for quite a long time. When I upgraded to new version (without MSHTML-file dependencies) I notice that behaviour of list tags generation has changed.

When I create simple list in old version, the GetDocumentSource() method returns (for example):

<UL>
<LI>item</LI>
<LI>item2</LI>
<LI>item2</LI>
</UL>

But new version's generated output is:

<UL>
<LI>item
<LI>item2
<LI>item2</LI>
</UL>

As you may notice, there're no closing <LI> tags in addition to opening tags. But I need these tags to be properly closed as it was in old version. I could use some regular expression magic to achieve it, but in case of possibility of nested lists, solving this task could become a trick.

So, any suggestions how to force the new version to close tags properly?



Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically.
P3Ce7
This is a moderated forum. Your message will remain hidden until it has been approved by a moderator or administrator
This forum powered by Phorum.