reanimate / reanimate-svg

BSD 3-Clause "New" or "Revised" License
4 stars 8 forks source link

linearGradient does not preserve id #40

Closed jekor closed 2 years ago

jekor commented 2 years ago
import Graphics.SvgTree
import Graphics.SvgTree.Printer

main = do
  print (ppTree $ parseSvg "<circle id=\"test\" />")
  print (ppTree $ parseSvg "<linearGradient id=\"test\" />")

Output

"<circle id=\"test\" />"
"<linearGradient />"
jekor commented 2 years ago

I just found f199711da3973e252ec4bbc03111ff8f7d749714