In the process of editing monsters.net I discovered a converter to change HTML characters into plain text, for displaying source code on the page.
<h2>This is some HTML.</h2>
Normally the above snippet would display like this:
$pos && $npos < $len ) { $pos = $npos; } } if ( !$pos ) { // substr $len-3, because the ellipsis adds 3 chars return substr($str, 0, $len-3) . '...'; } else { // $pos+1 to grab punctuation mark return substr($str, 0, $pos+1); } } ?>
Subscribe to Post Comments [Atom]
Home
I like Comic Sans and I don't care