WPCubed Product Support

converting RTF -> HTML adds whitespace after each paragra

WpTools 6.13.1

lvStr := WpRichText1.AsAnsiString('HTML');
WpRichText1.AsString := lvStr;

You'll notice in the document every paragraph now ends with whitespace.
Even empty paragraphs are no longer empty.

The second problem, i'm not sure if this is related.
When converting RTF -> HTML if the first paragraph contains 2 (or more) empty paragraphs then after converting the font size for the empty paragraphs gets reset to the default font size.

#1 ♥ 0
4.4k Views 2 users read 1 min

Any response would be appreciated.

We have already flagged this as a known issue. If this is being ignored by wptools however, then for long term we will have to find appropiate the solution ourselves.

As always i'm willing to help any way i can.

#2 ♥ 0
support

Hi,

empty paragraphs are ignored by the usual HTML browsers. I'll integrate an option to switch this off.

Julian

#3 ♥ 0
This category is archived. No new posts are possible.