Fix convertFromHtml in wbbcode.js

The function call to remove superflous `<br />` at the end
of a `<p>` tag erroneously removed the closing `</p>` tag as well.