akkoma-fe/test/unit
ilja 6666a273a4 MFM only use sanitised data-* attribute values
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.
2024-08-11 18:11:03 +02:00
..
specs MFM only use sanitised data-* attribute values 2024-08-11 18:11:03 +02:00
.eslintrc Basic skeleton 2016-10-26 16:46:32 +02:00
index.js ANNOYING dependency update 2024-05-28 04:02:17 +01:00
karma.conf.js ANNOYING dependency update 2024-05-28 04:02:17 +01:00