Fixed bug where an ul attribute broke the parsing.