Skip to content
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

Fix rogue unescaped span #38

Merged
merged 4 commits into from
Dec 20, 2018
Merged

Fix rogue unescaped span #38

merged 4 commits into from
Dec 20, 2018

Conversation

jemrobinson
Copy link
Member

Closes #37 which was caused by BeautifulSoup escaping tags inside <iframe> tags. Solution is to blacklist <iframe> which touches on #31, but doesn't close it yet as the final decision may be different.

Added test cases for the above and also added escaping of control characters which was causing problems in the specific example from #37.

@jemrobinson jemrobinson changed the title Bug/37 rogue span Fix rogue unescaped span Dec 20, 2018
@jemrobinson jemrobinson merged commit 25acc3e into master Dec 20, 2018
@jemrobinson jemrobinson deleted the bug/37-rogue-span branch March 28, 2019 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ReadabiliPy has not removed a span element from plain content and plain text
1 participant