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

WIP: Restrict the set of allowed tags #141

Open
philschatz opened this issue May 2, 2016 · 2 comments
Open

WIP: Restrict the set of allowed tags #141

philschatz opened this issue May 2, 2016 · 2 comments

Comments

@philschatz
Copy link
Member

Current list:

a abbr blockquote br cite code dd dfn dl dt kbd li mark ol p pre q s
        samp small strike sub sup time ul var
address article aside bdi bdo body caption col colgroup data del div
        figcaption figure footer h1 h2 h3 h4 h5 h6 head header hgroup hr html
        img ins main nav rp rt ruby section span style summary sup table tbody
        td tfoot th thead title tr wbr

I'd say disallow br, meta, cite, dfn dl, dt, dd, kbd, mark, pre, s, samp, small, strike, time, var, address, article, aside, bdi, bdo, body, colgroup, data, del, div (maybe???), footer, h1, h2, h3, h4, h5, h6, head, hgroup, hr, html, ins, main, nav, rp, rt, ruby, summary, wbr (maybe more? I just glanced through dante's list) and b, i, u

@Dantemss
Copy link
Member

Dantemss commented May 2, 2016

I think we need to allow div for block math.
What about u? Don't think there's an alternative?

@philschatz
Copy link
Member Author

Agreed that there may be no alternative to u but I'm not sure it needs to be available.

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

No branches or pull requests

2 participants