<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - jm1248</title>
<link>http://snipplr.com/users/jm1248/language/javascript/tags/url</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 10:20:18 GMT</pubDate>
<item>
<title>(JavaScript) Text to HTML in JavaScript</title>
<link>http://snipplr.com/view/48519/text-to-html-in-javascript/</link>
<description><![CDATA[ <p>Hopefully this covers just about everything.   This code has far more lines than htmlify.js but seems to work ok.

(I  just remembered that " // Loop through the clear text " has no loop breaker - will post a fix, but it's not a show-stopper for most applications.)

As far as I can tell;

brackets are dealt with properly
punctuation is moved away from the link.

This script is actually an HTML document that contains test
patterns with raw and browser-view outputs.

Comments are welcome.</p> ]]></description>
<pubDate>Tue, 08 Feb 2011 01:09:52 GMT</pubDate>
<guid>http://snipplr.com/view/48519/text-to-html-in-javascript/</guid>
</item>
</channel>
</rss>