mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2025-03-13 14:09:59 +01:00
We take the value from a data-* attribute and then add this to the style attribute. This will probably be OK in most cases, but just to be sure, we check for "weird" characters first. For now we only allow letters, numbers, dot, hash, and plus and minus sign, because those are the ones I currently know of who are used in MFM. The data-* attribute remains because it was already considered proper HTML as-is. |
||
---|---|---|
.. | ||
emoji_input.spec.js | ||
rich_content.spec.js | ||
user_profile.spec.js |