BooDoo / CheapBotsTootSweet

Hosting Tracery-based Mastodon bots for others https://cheapbotstootsweet.com
MIT License
4 stars 0 forks source link

svg not working? #27

Open alien-sunset opened 4 days ago

alien-sunset commented 4 days ago

i don't know where the issue for this lies... perhaps I'm using a newer version of tracery (I've got "tracery-grammar": "^2.7.4" on my node) (which is impressive considering how old it is) or a disconnect or some odd incompatibility re: browsers.

but i have some code (up on AlienSunsets_TestBot) and the SVG isn't working. but on my home machine with no changes it works fine

I've spent hours trying to figure this out, and I'm just at a loss.

image image image

alien-sunset commented 2 days ago

made a glitch project to show the code: I've tried with both versions of the tracery and neither works on CBTS

peeking at the page source on cbts, it looks like for some reason the "#" symbols necessary for the color hex codes and pattern id urls is being completely stripped away

https://glitch.com/edit/#!/aliensaliens