dcwatson / bbcode

A pure python bbcode parser and formatter.
BSD 2-Clause "Simplified" License
68 stars 17 forks source link

Problem with :[ #10

Closed nookiepl closed 10 years ago

nookiepl commented 10 years ago

Hi,

import bbcode parser = bbcode.Parser() parser.install_default_formatters() parser.format("Test :[ something") 'Test :Test :[ something'

As you can see, when using [ as ie. emoticon (without closing ]), there is problem with output. Text is duplicated.

dcwatson commented 10 years ago

Thanks for the report!