BBCodeParser
BBCodeParser copied to clipboard
Registry Key and Hang
Hi,
We came across this as we use this module to render bbCode within our forums.
We noticed that this string in particular hangs: var parser = new BBCodeParser({}).parseString("[HKEY_LOCAL_MACHINESOFTWAREMicrosoftMicrosoft SDKsSilverlightv4.0AssemblyFoldersEx]");
This is a registry key, so I can definitely see it causing some screwiness somewhere. I thought it would be ignored but it seems to never actually go into the parseString function, it will simply hang in limbo.
Anyway to prevent this?
Thanks!