2,733
edits
Red Leader (talk | contribs) (date formatting + Chrome-specific box (more to come on that ;) )) |
Red Leader (talk | contribs) m (Revert syntaxhighlight (breaks to page)) |
||
Line 248: | Line 248: | ||
function phpBB_code2syntaxhighlight() { | function phpBB_code2syntaxhighlight() { | ||
return function(bbhtml) { | return function(bbhtml) { | ||
return bbhtml.replace(/<dl.*?><dt>.*?<\/dt><dd><code>(.*?)<\/code><\/dd><\/dl>/g, "< | return bbhtml.replace(/<dl.*?><dt>.*?<\/dt><dd><code>(.*?)<\/code><\/dd><\/dl>/g, "<tt>\n$1\n</tt>"); | ||
}; | }; | ||
} | } |