Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

DuckPAN Server - Add support for <svg>, <canvas>, etc #85

Merged
merged 1 commit into from
Jul 3, 2014

Conversation

moollaza
Copy link
Member

Previously HTML::Treebuilder was throwing away <svg> and <canvas> elements as they aren't part of the known HTML Tagset.

I've turned on the flag to allow "unknown_elements" which causes the parser to keep these unknown elements rather than throw it away.

This is in regards to a recent Goodie Pull Request: duckduckgo/zeroclickinfo-goodies#464 (comment)

//cc @russellholt @jagtalon

@jagtalon
Copy link
Member

jagtalon commented Jul 3, 2014

Nice! 🤘

jagtalon pushed a commit that referenced this pull request Jul 3, 2014
DuckPAN Server - Add support for <svg>, <canvas>, etc
@jagtalon jagtalon merged commit 8a88039 into master Jul 3, 2014
@jagtalon jagtalon deleted the zaahir/support-svg-canvas branch July 3, 2014 13:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants