Skip to content

Commit

Permalink
[fc] Repository: Products.PortalTransforms
Browse files Browse the repository at this point in the history
Branch: refs/heads/master
Date: 2022-03-15T13:05:31+01:00
Author: Andrea Cecchi (cekk) <andrea.cecchi85@gmail.com>
Commit: plone/Products.PortalTransforms@47eee97

when serializing back to html, use lxml html method

instead of xml method which auto closes tags
and turns \r into &amp;#13; entity.

Files changed:
A news/43.bugfix
M Products/PortalTransforms/tests/output/test_word.html
M Products/PortalTransforms/tests/test_transforms.py
M Products/PortalTransforms/tests/test_xss.py
M Products/PortalTransforms/transforms/safe_html.py
Repository: Products.PortalTransforms

Branch: refs/heads/master
Date: 2022-03-15T17:07:58+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/Products.PortalTransforms@c2c70e2

Merge pull request #43 from plone/do_not_autoclose_tags

use html method to avoid autoclosed tags

Files changed:
A news/43.bugfix
M Products/PortalTransforms/tests/output/test_word.html
M Products/PortalTransforms/tests/test_transforms.py
M Products/PortalTransforms/tests/test_xss.py
M Products/PortalTransforms/transforms/safe_html.py
  • Loading branch information
mauritsvanrees committed Mar 15, 2022
1 parent 93e6358 commit bd9c59f
Showing 1 changed file with 24 additions and 54 deletions.
Loading

0 comments on commit bd9c59f

Please sign in to comment.