WPCubed Product Support

SaveToFile HTML removing blank lines

Hi,

Every time I try to save text from a WPRichText component to HTM format I seem to lose any blank spaces.

ie text =
line 1
line 2

line 4

line 6

saves out as:
line 1
line 2
line 4
line 6

How can I stop this from happening?

I am using V6.08.

Thanks, Luke.

#1 ♥ 0
6.4k Views 2 users read 3 min
support

WPTools writes this code empty paragraphs:

<html>
<head></head><body>
<div><span style="font-family:'Arial';font-size:11.00pt;">aaaaa</span></div>
<div>&nbsp;</div>
<div><span style="font-family:'Arial';font-size:11.00pt;">bbbb</span></div>
</body></html>

Julian

#2 ♥ 0

@wpsupport:
WPTools writes this code empty paragraphs:

<html>
<head></head><body>
<div><span style="font-family:'Arial';font-size:11.00pt;">aaaaa</span></div>
<div>&nbsp;</div>
<div><span style="font-family:'Arial';font-size:11.00pt;">bbbb</span></div>
</body></html>

Julian

Hi Juilian,

I used the WrtHTM sample program and it seems to be missing out the &nbsp; from the saved HTM

ie this text:
Please drag&drop JPEG images ...

line 1

line 3

space and line 5

is saving out as
<html>
<head></head><body background="back.jpg">
<div><font face="Arial" size=3>Please drag&amp;drop JPEG images ...</font></div>
<div></div>
<div></div>
<div><font face="Arial" size=3>line 1</font></div>
<div></div>
<div><font face="Arial" size=3>line 3</font></div>
<div><font face="Arial" size=3> </font></div>
<div><font face="Arial" size=3>space and line 5</font></div>
</body></html>

Is there an option im missing??

#3 ♥ 0
support

Hi,

Which version of WPTools is this?

Julian

#4 ♥ 0

@wpsupport:
Hi,

Which version of WPTools is this?

Julian

Hi Julian,

Am using V6.08

#5 ♥ 0
support

Hi,

Please get the V6.12.c - it is available in the download section for registered customers. There are many improvements, also in the HTML writing section.

Julian

#6 ♥ 0

Thanks Julian,

Its now working again

Luke.

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