ox.html: fix sanitizing whitespace-only strings #2860
Labels
No labels
backend
critical
defect
duplicate
enhancement
fixed
frontend
general
invalid
major
minor
normal
oxjs
pandora_client
python-ox
task
trivial
wontfix
worksforme
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: 0x2620/pandora#2860
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ox.html.sanitize_html(u' ')
fails with an exception from lxml. Here is a fix, and some tests.Take your pick of the patches attached or this branch: https://gitlab.com/wjt/python-ox/compare/master...sanitize_html
Attachment 0001-ox.html.sanitize_html-fix-existing-tests.patch (1520 bytes) added
Attachment 0002-ox.html.sanitize_fragment-documentation-tests.patch (1164 bytes) added
Attachment 0003-ox.html-fix-sanitizing-whitespace-only-strings.patch (2019 bytes) added
hm gitlab tries hard to hide that https://gitlab.com/wjt/python-ox.git is what I want.
Added your repo as a remote and merged your changes into master https://wiki.0x2620.org/changeset/cbcef39/python-ox
Replying to [j]comment:1:
Hmm yes, I can't find any way to link to a page with both the clone URL and the name of a specific branch. Great.
Thanks!