Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade DOMPurify library #926

Merged
merged 2 commits into from
Apr 10, 2024
Merged

Upgrade DOMPurify library #926

merged 2 commits into from
Apr 10, 2024

Conversation

xjiang-at-wiris
Copy link
Contributor

Description

Upgrade DOMPurify library to avoid deletion of some MathML tags by error.

Steps to reproduce

Edit this MathML in e.g. CKEditor5:

<math xmlns="http://www.w3.org/1998/Math/MathML">
 <mmultiscripts>
   <msubsup>
     <mi>c</mi>
     <mi>h</mi>
     <mi>h</mi>
   </msubsup>
   <mprescripts/>
   <mi>h</mi>
   <mi>h</mi>
 </mmultiscripts>
</math>

Then check mmultiscripts tag is not be deleted


#taskid 44328

@carla-at-wiris carla-at-wiris merged commit 41e82f7 into master Apr 10, 2024
3 checks passed
@carla-at-wiris carla-at-wiris deleted the KB-44328 branch April 10, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants