From 50df1d778b50350f897d7dedaece0eba8947e684 Mon Sep 17 00:00:00 2001 From: ldevillez Date: Fri, 29 Sep 2023 14:57:10 +0200 Subject: [PATCH] add metadata to filter_tag --- svg2tikz/tikz_export.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/svg2tikz/tikz_export.py b/svg2tikz/tikz_export.py index 05b46c0..97463d2 100644 --- a/svg2tikz/tikz_export.py +++ b/svg2tikz/tikz_export.py @@ -175,7 +175,16 @@ def filter_tag(node): # As it is done in lxml if node.tag == etree.Comment: return False - if node.TAG in ["desc", "namedview", "defs", "svg", "symbol", "title", "style"]: + if node.TAG in [ + "desc", + "namedview", + "defs", + "svg", + "symbol", + "title", + "style", + "metadata", + ]: return False return True