Fix miniparser

A malformed closing tag could mess the ouput of the page when the Bb
Code content protection was enabled. Fixed. Thanks to Case.