You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reversed is a boolean attribute on <ol> that can be used to make descending lists. The sanitizer seems to be stripping this (it's not included in allowed_attributes).
* Mark <ol reversed> as a boolean attribute so it serializes properly in
HTML.
* Allow <ol reversed> in the sanitizer. Closeshtml5lib#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
* 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
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
reversed
is a boolean attribute on<ol>
that can be used to make descending lists. The sanitizer seems to be stripping this (it's not included inallowed_attributes
).https://html.spec.whatwg.org/multipage/semantics.html#attr-ol-reversed
The text was updated successfully, but these errors were encountered: