Skip to content
This repository was archived by the owner on Feb 8, 2023. It is now read-only.

Add support for <ol reversed>, related attributes #10

Merged
merged 5 commits into from
Jul 4, 2020
Merged

Conversation

twm
Copy link
Owner

@twm twm commented Jul 4, 2020

  • Mark <ol reversed> as a boolean attribute so it serializes properly in HTML.
  • Allow <ol reversed> in the sanitizer. Closes #321.
  • Allow <ol start> in the sanitizer.
  • <ol type> was already allowed, but probably accidentally (type is an attribute allowed for other tags). I added a test to prevent it from regressing in case we add per-element attribute sanitization in the future.

https://html.spec.whatwg.org/multipage/grouping-content.html#attr-ol-reversed

html5lib/html5lib-python#396

twm added 5 commits June 9, 2018 18:46
* Mark <ol reversed> as a boolean attribute so it serializes properly in
  HTML.
* Allow <ol reversed> in the sanitizer. Closes #321.
* Allow <ol start> in the sanitizer.
* <ol type> was already allowed, but probably accidentally (type is an
  attribute allowed for other tags). I added a test to prevent it from
  regressing in case we add per-element attribute sanitization in the
  future.

https://html.spec.whatwg.org/multipage/grouping-content.html#attr-ol-reversed
@twm twm merged commit a48ac89 into trunk Jul 4, 2020
@twm twm deleted the ol-reversed branch July 4, 2020 21:36
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 this pull request may close these issues.

1 participant