Skip to content

Instantly share code, notes, and snippets.

@julescarbon
Created October 17, 2012 20:52
Show Gist options
  • Save julescarbon/3908103 to your computer and use it in GitHub Desktop.
Save julescarbon/3908103 to your computer and use it in GitHub Desktop.
The code tag as it was intended
<script>$($("code").each(function(){ $(this).html( $(this).html().replace(/</g,"&lt;") ) }))</script>
<code>
<i>i buy water</i>
</code>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment