Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2009-01-30 21:46:52

nklhead
New member
Registered: 2009-01-30
Posts: 1

Line Breaks Not Honored on Plain Text Paste

Using IE7, Xinha 0.95

Initial HTML in Xinha is:

<div><font size=\"2\" face=\"verdana,arial,helvetica,sans-serif\"><p>
</p></font></div>

Pasted the following plain text:

Line 1

Line 3
Line 4

(line 2 was omitted on purpose)

This is what appears in Xinha visually:

Line 1
Line 3
Line 4

(should be blank line at Line 2)

Here's the HTML Xinha creates:

<div><font face="verdana,arial,helvetica,sans-serif" size="2">
      <p>Line 1</p>
      <p>Line 3<br />Line 4</p></font></div>

Xinha is using all default configuration, except for:

xinha_config.pageStyle = 'p{margin:0;} ';


How do I get Xinha to paste plain text from Notepad in to Xinha so it appears in Xinha just like it did in Notepad, preserving line breaks? (div tag, br tag, p tag, whatever - just want it to look right, and for Enter key to single-space instead of double-space)

Thanks in advance.

Last edited by nklhead (2009-01-30 21:58:15)

Offline

Board footer

Powered by FluxBB