Fixed a bug in parsing table tags

Linebreaks in table tags were incorrectly parsed into `<br>`.