Multiple spaces lost when saving to HTML
Posted: Sat Aug 23, 2008 6:55 pm
Hello,
I was testing TRichView and trying to Save the RichViewEdit to HTML with the following code:
Stream1:=TStringStream.Create('');
RichViewEdit1.SaveHTMLToStreamEx(
Stream1,'','Test','','','','', [rvsoUseCheckpointsNames,rvsoNoHypertextImageBorders,rvsoMarkersAsText]);
After I do, the text: "Test_________Test_____________Test"
is converted to: "Test Test Test"
( the "_" character should be considered as space character )
how can this be resolved?
Thanks.
I was testing TRichView and trying to Save the RichViewEdit to HTML with the following code:
Stream1:=TStringStream.Create('');
RichViewEdit1.SaveHTMLToStreamEx(
Stream1,'','Test','','','','', [rvsoUseCheckpointsNames,rvsoNoHypertextImageBorders,rvsoMarkersAsText]);
After I do, the text: "Test_________Test_____________Test"
is converted to: "Test Test Test"
( the "_" character should be considered as space character )
how can this be resolved?
Thanks.