HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Code Prettify 1.0

Nifty syntax highlighter. Add this and you can say that your forum has code written by Google in it!

BetterBBCodem, Kses, and Textile don't seem to play nice with code blocks--they either don't play nice at all or consistent enough for this script.

HTML formatter replaces all newlines with <br />s, although it shouldn't touch them inside code or pre blocks. This extension has to do its best to undo this travesty in order to work properly. Thus any <br /> that actually should appear in the code gets turned into a newline.