in reply to Re^4: Plain Text To HTML
in thread Plain Text To HTML

Even here the text is not displayed as entered. The info on the copied Word document was in the form of a statement, a bulleted list, and another statement. Here is is shown as two sentences.

Replies are listed 'Best First'.
Re^6: Plain Text To HTML
by Maelstrom (Beadle) on Sep 21, 2024 at 07:57 UTC
        • That’s because you submitted two sentences with some dots in them and not properly formatted html with <ul> and <li> 
        • Had you done <pre> pastedtext </pre> the formatting would’ve been preserved
        • What you want is almost impossible from a back end program and a simple text area
        • have you tried pasting bold, italic or different fonts into your text area?
    

    1. Using the pre (for preformatted) tag is as close as you will get
    2. without implementing a WYSIWYG editor on your form