Wrap Text in HTMLHi Community,
The script below creates a journal with wrapped text. However, when I save this as an HTML file, the text is no longer wrapped. How can I maintain formatting from the journal to an HTML file?
win= New Window("Metrics",
<<JOURNAL></JOURNAL>OtherRe: Wrap Text in HTMLUsing interactive html here will work better than static html.
This can be done by changing the last line in the script to
current Journal()<<save Interactive html();
Re: Wrap Text in HTMLwindows, 16.2 appears to break the text in the same locations. I used different font sizes and different pixel lengths for the wrap point for a quick test.
journal behind, browser in frontjournal behind, browser in frontjournal behind, browser in front
The centering is wrong, but the wrapping seems to work.
You can force line breaks with \!n (an escaped newline in a JSL string).