SVG animates aren't rendered properly

I upload this .svg to my post as I would any other image

In a lush garden, a majestic peacock with vibrant feathers, predominantly in hues of blue and green, stands stately among blooming flowers and swaying trees, its head raised elegantly as it showcases its elaborate plumage. (Captioned by AI)

Here is what I see in the preview:

If I open the .svg directly in my browser (visit https://raw.githubusercontent.com/marionebl/svg-term-cli/refs/heads/master/examples/parrot.svg) or view it on GitHub (here in the README.md for example: GitHub - marionebl/svg-term-cli: Share terminal sessions via SVG and CSS), it is rendered properly.

.svg is enabled as an upload type and I don’t think there is an issue with the size of the .svg.

1 Like

I took a quick look, and it seems that after uploading an SVG, the content inside <defs> is gone.

symbol is not on the whitelist, that’s the reason:

Now, it works:

The image shows a Telegram download link in the chat with the filename "parrot(1)6231x0 (upload://fKaLFUt9RBvAWJoEpo5TVv0)", leading to a direct link to a hidden cdc file segment. (Captioned by AI)

I don’t think there is an issue in allowing it. :thinking:


Made a quick PR:

2 Likes