helios-ag / FMBbCodeBundle

:capital_abcd: BBCode bundle for Symfony projects
Other
57 stars 35 forks source link

problem with [img] and emoticon #149

Open ernestocuzcueta opened 5 years ago

ernestocuzcueta commented 5 years ago

I have this content: ...... [img]3299%20[1280x768].JPG[/img] The code first resolve the emoticon replacing 8] and later replace the [img]

My symfony configuration is: post: strict: false locale: es xhtml: true filters: [ default, list, url, quote, text] hooks: [ emoticon, custom ] whitelist: [ b, quote, url, img, text, size, color ]

Is possible change the parse order?

Thanks

alquerci commented 5 years ago

Hello @ernestocuzcueta, apologies for the delay of this response.

What version of decoda do you have?

As I know this bug should be fixed with latest version. The emoticon hook has been patched.