Hello.. I'm trying to replace some code generated by the AJAX Control Toolkit HTMLEditor from the XHTML standard to legacy code; <span style=*> to <b>, <u>, <i>, etc. This needs to be done because Crystal Reports doesn't understand the <span style=*> and needs the legacy items.
This is the code being generated by the HTMLEditor:
New Log opened at: <b>Monday, June 21, 2010 1:58:14 PM</b><br /><br /><span style="font-weight: bold">This is a bold test and only a test.<br /><br /></span><span style="font-style: italic">This is an italics test and only a test.<br /></span>First step is to ensure all the closing spans are inside the breaks (I loop through this a few times to ensure this is done correctly):
ReplacementText = ReplacementText.Replace ...
Go to the complete details ...