Nl2br extension
From DP
Terminal output from the Bus Pirate looks bad on MediaWiki.
<quote> Searching 7bit I2C address space. Found devices at: 0xA0(0x50 W) 0xA1(0x50 R) I2C></quote>
This output from the I2C sniffer bunches up into a single line instead of retaining the correct line breaks.
<quote>
Searching 7bit I2C address space.
Found devices at:
0xA0(0x50 W) 0xA1(0x50 R)
I2C></quote>
Use the <bp>, <buspirate>, <nl2br>, and <terminal> tags to convert the single line breaks in the terminal output to HTML line breaks.
The main difference between our extension and the <pre>, <nowiki>, <syntax lang=text>, etc command is that nl2br A)processes any wiki tags, and B)doesn't escape HTML.
<quote> <nl2br><nlbr> Searching 7bit I2C address space. Found devices at: 0xA0(0x50 W) 0xA1(0x50 R) I2C> </nl2br></nlbr> </quote>
This is how it's used.
Download the nl2br extension if you find it helpful.
