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

DOMParser Error after BBT installed #1584

Closed
l0o0 opened this issue Jul 23, 2020 · 5 comments
Closed

DOMParser Error after BBT installed #1584

l0o0 opened this issue Jul 23, 2020 · 5 comments
Labels

Comments

@l0o0
Copy link

l0o0 commented Jul 23, 2020

Maybe this is a bug.

I am trying to build an addon for Zotero. And I found an error when I run code in the Zotero RunJavascript window. I can't use new DOMParser, above is the screenshot.
图片

Demo code

var parser = new DOMParser();
var resptext = '<p>内容</p><div>divNext</div>'
var html = parser.parseFromString(resptext, "text/html");
html;

Is there a conflict between BBT and JS environment?

Report-ID: DZNA9A5E-apse

@blip-bloop
Copy link
Collaborator

🤖 this is your friendly neighborhood build bot announcing test build 5.2.45.6839 ("use default domparser")

Install in Zotero by downloading test build 5.2.45.6839, opening the Zotero "Tools" menu, selecting "Add-ons", open the gear menu in the top right, and select "Install Add-on From File...".

Repository owner deleted a comment from label-gun bot Jul 23, 2020
@retorquere
Copy link
Owner

There was indeed; try 6839

@l0o0
Copy link
Author

l0o0 commented Jul 23, 2020

@blip-bloop Thank you for your quick reply. The error is fixed. Your add-on is veeeeeery good.👍

@retorquere
Copy link
Owner

@blip-bloop is a bot 😄 . I'll merge this into a release.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants