I tinkered with this for about 1 week straight; trust me, the &lt;br> is required; gecko just adds more if you try to strip them out. I engineering the shit out of this solution.