Tags with attributes throw syntax error
Opened this issue · 2 comments
I understand that Slash doesn't support parsing for tag attributes yet, but I'm relying on this feature. And I'm just wondering how to handle cases when there are attributes in the tags. I actually don't care about the value in the attribute, so is there an easy way to avoid the syntax error and create the attributed string. Highly dependent on this feature right now. Is there any other library that currently has this feature?
This would not be hard to fix, although I have to ask why you need this. If you want to display HTML, there are better ways of doing so.
Well the case is that it's not html. It's xml which has attributes for
some tags. Currently I am using regular expressions to clean up the xml
from attributes but it would be great if I didn't have to do that.
On 22 Oct 2014 13:49, "Chris Devereux" notifications@github.com wrote:
This would not be hard to fix, although I have to ask why you need this.
If you want to display HTML, there are better ways of doing so.—
Reply to this email directly or view it on GitHub
#18 (comment).