diff --git a/readme_renderer/clean.py b/readme_renderer/clean.py index b081e28..6cd5972 100644 --- a/readme_renderer/clean.py +++ b/readme_renderer/clean.py @@ -27,7 +27,7 @@ "dl", "dt", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "img", "p", "pre", "span", "sub", "summary", "sup", "table", "tbody", "td", "th", "thead", "tr", "tt", "kbd", "var", "input", "section", "aside", "nav", "s", "figure", - "figcaption", + "figcaption", "picture", } ALLOWED_ATTRIBUTES = { diff --git a/tests/fixtures/test_GFM_picture.html b/tests/fixtures/test_GFM_picture.html new file mode 100644 index 0000000..460cf35 --- /dev/null +++ b/tests/fixtures/test_GFM_picture.html @@ -0,0 +1,3 @@ + + + diff --git a/tests/fixtures/test_GFM_picture.md b/tests/fixtures/test_GFM_picture.md new file mode 100644 index 0000000..a6de454 --- /dev/null +++ b/tests/fixtures/test_GFM_picture.md @@ -0,0 +1,3 @@ + + +