Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The HTML parser should handle inline tags independently of their ids #42

Open
ymeine opened this issue Oct 28, 2013 · 0 comments
Open

Comments

@ymeine
Copy link
Contributor

ymeine commented Oct 28, 2013

Currently the HTML parser (either on its own or embedded in the AT parser) handle inline tags in a very restrictive way. When encountering the beginning of a tag, there is a specific rule that checks if the following id is among a hard-coded set of inline ids to determine if the current tag can be inline, otherwise the id is parsed generically - it can be anything.

First, the list shouldn't be hard-coded: using a predicate in the grammar to hack the rule and taking the set of ids from an external input would be far better.

Then, it would be great, even if we agree this is difficult, to be able to parse without ambiguity inline tags with any id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant