Turn input string into formatted HTML


/ Published in: PHP
Save to your folder(s)

Takes a string (from textarea, et alii) and turns it into formatted HTML.\\\\r\\\\n\\\\r\\\\nLines of text are turned into paragraphs, unless they start with \\\\\\\"+\\\\\\\" (headline); \\\\\\\"-\\\\\\\" (unordered list); or \\\\\\\"n.\\\\\\\" (ordered list).

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.