Skip to content

Commit

Permalink
Merge pull request #231 from watermelonexpress/mathml-updates
Browse files Browse the repository at this point in the history
Adds menclose and ms MathML elements and supported attributes
  • Loading branch information
flavorjones committed Apr 1, 2022
2 parents e644c1c + d1b2bc0 commit a957102
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/loofah/html5/safelist.rb
Expand Up @@ -148,6 +148,7 @@ module SafeList
"annotation-xml",
"maction",
"math",
"menclose",
"merror",
"mfenced",
"mfrac",
Expand All @@ -161,6 +162,7 @@ module SafeList
"mprescripts",
"mroot",
"mrow",
"ms",
"mspace",
"msqrt",
"mstyle",
Expand Down Expand Up @@ -313,6 +315,7 @@ module SafeList
"columnspacing",
"columnspan",
"depth",
"dir",
"display",
"displaystyle",
"encoding",
Expand All @@ -323,19 +326,24 @@ module SafeList
"fontweight",
"frame",
"height",
"href",
"linethickness",
"lquote",
"lspace",
"mathbackground",
"mathcolor",
"mathsize",
"mathvariant",
"maxsize",
"minsize",
"notation",
"open",
"other",
"rowalign",
"rowlines",
"rowspacing",
"rowspan",
"rquote",
"rspace",
"scriptlevel",
"selection",
Expand Down

0 comments on commit a957102

Please sign in to comment.