-
Notifications
You must be signed in to change notification settings - Fork 6
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
Define removal of SCRIPT and STYLE elements everywhere textContent is requested. #17
Comments
Previous issue and resolution: http://microformats.org/wiki/microformats2-parsing-issues#exclude_style_elements_before_parsing Appears might have just missed some instances in the spec update, but need to double-check and confirm. See this revision. |
given what @gRegorLove found I'd say the missing pieces are: b) in the section about implied |
Proposed updates, which I believe are in line with the resolution: parsing a p- property Original:
Updated:
parsing an e- property Updated:
parsing for implied properties Original:
Updated:
|
LGTM |
Updated in spec with this revision: http://microformats.org/wiki/index.php?title=microformats2-parsing&oldid=66660 This issue can be closed now. |
Closing as this has been updated and I’m not sure why it was kept open anyway. |
In practice parsers are already doing this everywhere, but that is currently against the specification. I say this is a mistake in the spec and not in parsers.
When the
textContent
value is used in mf2 we specify the removal of<script>
and<style>
elements withinp-x
,u-x
, anddt-x
parsing. But do not fore-x
or impliedname
parsing.According to spec:
Results in an implied
name
ofHello beautiful person
.The text was updated successfully, but these errors were encountered: