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

TypeError:_dompurify.default.sanitize is not a function #67

Open
yjoon45 opened this issue Aug 10, 2021 · 1 comment
Open

TypeError:_dompurify.default.sanitize is not a function #67

yjoon45 opened this issue Aug 10, 2021 · 1 comment

Comments

@yjoon45
Copy link

yjoon45 commented Aug 10, 2021

Hi

I am trying it implement MathJax on my website using react-mathjax-preview Component. it is working fine on Client side rendering but on server-side I am getting this error.

I am using Next.js for SSR.

Please help to solve this.

Screenshot 2021-08-10 at 1 36 41 PM

React: 16.13.1
react-mathjax-preview: 2.2.3
NextJs: 9.5.2

@mehdisadeghi
Copy link
Owner

Hi, sorry for my late reply.

Unfortuantely I don't have enough time for working on this project, however I'll happily consider pull requests addressing this issue (see PR history).

Cheers,
Mehdi

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

No branches or pull requests

2 participants