0.9.x doesn't have that code, you are probably on master. Try doing a git pull.
SOLVED Browser crash when opening a very long topic
I've successfully migrated from MyBB. been using NodeBB close to a week now.
So far, everything works as it should be. But there is this one thread that will crash your browser if you attempt to view it, there is no error on the server side. And there is no way to debug as your browser crash. Hope anyone can help?
Here is the link to the thread.
I got a script crash when I launched that page. But once that script stopped, page loads fine, can you run the forum in ./nodebb dev mode and let me know once you've done that, I'll try reloading the page to see what happens.
I've just restart the forum in dev mode.
Mentions hljs in the script, so something to do with highlighting... What composer do you use?
Im using the default nodebb composer.
I think I've fixed the problem, temporarily. I manage to remove those long text (http://pastebin.com/wQktbjtT) and it fixed the problem.
The long text string seems to break nodebb. I test posting the same string again, but nodebb wont allow as it is longer than 32767 character.
Thanks for your time @a_5mith