Skip to content
This repository was archived by the owner on Sep 5, 2018. It is now read-only.

handle <noscript> as a RAWTEXT element#139

Open
adon-at-work wants to merge 1 commit intomasterfrom
added-noscript-tag-as-rawtext-state
Open

handle <noscript> as a RAWTEXT element#139
adon-at-work wants to merge 1 commit intomasterfrom
added-noscript-tag-as-rawtext-state

Conversation

@adon-at-work
Copy link
Copy Markdown
Contributor

See bullet item 4 in http://www.w3.org/TR/html/syntax.html#concept-frag-parse-context

As we assume scripting is always enabled (otherwise, no script nor XSS), <noscript> tag should be handled as RAWTEXT. The filter NOT_HANDLE is equiv. to the default handlebars filter.

@adon-at-work
Copy link
Copy Markdown
Contributor Author

@neraliu , please give it a quick review. Thanks.

@neraliu neraliu added this to the v1.3.0 milestone Sep 27, 2015
@neraliu neraliu self-assigned this Sep 27, 2015
@neraliu
Copy link
Copy Markdown
Contributor

neraliu commented Sep 27, 2015

this implementation is quite tricky, right now, the filtering rules for both RAW_TEXT and DATA are the same? we need to doc it.

the assumption of enabling js in the browser side makes sense to me, as it is the criteria for xss.

@yukinying, please have another eye on this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants