Compatibility with NodeBB 0.6.x

Modified parser in order to work with NodeBB 0.6.x