paragraphFormat

Replaces characters in a string:
* Single newline characters (CR/LF sequences) with spaces
* Double newline characters with HTML paragraph tags (<p>)

paragraphFormat(String) → returns string

Argument Reference

String string
Required

Examples
Sample code invoking the paragraphFormat function


Fork me on GitHub