NewlinesStringToOneHtmlParagraph — Convert newlines into HTML line breaks, put into paragraph.
The HTML paragraph.
String | The string to convert. |
Note that this will (1) remove any trailing newlines, (2) convert any newlines to HTML line breaks (viz.
tags), and (3) wrap the string with HTML paragraph tags.
For information regarding exceptions / errors, see
here.
% NewlinesStringToOneHtmlParagraph {Line one\nLine two\nLine three\n\n}
Line one
Line two
Line three