Skip to Content Skip to Navigation
Profile image for Fabian :takahe:

Fabian Emoji takahe

@fabian@takahe.social

(testing)

4 Posts Posts & Replies 4 Following 2 Followers Search
Fabian Emoji takahe boosted

…aaaand I broke it ;)

Custom CSS does not work when using quotes, e.g. in `font-family: "Foo Bar"`. Django escapes too aggressively.

2012 post on says: “Use |striptags|safe”

Current docs say: “Warning: Never use |striptags|safe — use bleach.clean()”

Bleach docs: “clean() is not safe to use in CSS context.”

🐇 rabbit hole

(Just not using quotes in CSS works ;)

Edited 1y ago

the default avatar is *almost* to nice to replace it. — actually, i just can’t find yet another profile pic right now. hey 👋