Skip to content

add tag mprescripts to mathMl#788

Merged
cure53 merged 2 commits intocure53:mainfrom
duyhai94:haicd194
Apr 5, 2023
Merged

add tag mprescripts to mathMl#788
cure53 merged 2 commits intocure53:mainfrom
duyhai94:haicd194

Conversation

@duyhai94
Copy link
Copy Markdown
Contributor

@duyhai94 duyhai94 commented Apr 4, 2023

Summary

DOMPurify now removes the . tag
Causes the formula part of the CKEditor library to display an error

Background & Context

correctly display CKEditor's Math formula

Tasks

add 'mprescripts' to mathML

  • use formula in ckeditor

Dependencies

exam
-input : "

<math xmlns="http://www.w3.org/1998/Math/MathML\" class="wrs_chemistry"><mi mathvariant="normal">P200190

\n"

-output: "

<math xmlns="http://www.w3.org/1998/Math/MathML\" class="wrs_chemistry"><mi mathvariant="normal">P200190

\n"

  • Resolved dependency
  • Open dependency

@cure53
Copy link
Copy Markdown
Owner

cure53 commented Apr 4, 2023

That PR doesn't pass the Linter check, please check tests and revise:

https://github.com/cure53/DOMPurify/actions/runs/4606790460/jobs/8147439211?pr=788

@cure53
Copy link
Copy Markdown
Owner

cure53 commented Apr 5, 2023

Excellent, thank you :)

@cure53 cure53 merged commit dcb9ebe into cure53:main Apr 5, 2023
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.

2 participants