Skip to content
This repository has been archived by the owner on Jan 23, 2020. It is now read-only.

Need to expose start and eng tag names #37

Open
yukinying opened this issue Jul 17, 2015 · 0 comments · May be fixed by #38
Open

Need to expose start and eng tag names #37

yukinying opened this issue Jul 17, 2015 · 0 comments · May be fixed by #38

Comments

@yukinying
Copy link
Contributor

Currently the start tag name and end tag name are stored in this.tags[0] and this.tags[1] respectively, and the upstream project html-purify is using these internal variable directly. Unfortunately, this.tags, even may have stored value, would be valid for use only in certain HTML state.

We should construct the functions getStartTagName and getEndTagName that would only return tag name when they are in the correct HTML state.

I will push a few commits to make this happen.

@maditya @neraliu @adon-at-work

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

Successfully merging a pull request may close this issue.

1 participant