<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 13:26:56 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Text to HTML in JavaScript - jm1248</title>
      <link>https://snipplr.com/view/48519/text-to-html-in-javascript</link>
      <description>&lt;p&gt;Hopefully this covers just about everything.   This code has far more lines than htmlify.js but seems to work ok.&#13;
&#13;
(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.)&#13;
&#13;
As far as I can tell;&#13;
&#13;
brackets are dealt with properly&#13;
punctuation is moved away from the link.&#13;
&#13;
This script is actually an HTML document that contains test&#13;
patterns with raw and browser-view outputs.&#13;
&#13;
Comments are welcome.&lt;/p&gt;</description>
      <pubDate>Tue, 08 Feb 2011 01:09:52 UTC</pubDate>
      <guid>https://snipplr.com/view/48519/text-to-html-in-javascript</guid>
    </item>
  </channel>
</rss>
