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

script crashes when italic hyperlink with "/" in parentesis #67

Open
omarcostahamido opened this issue Jan 27, 2021 · 4 comments
Open

Comments

@omarcostahamido
Copy link

omarcostahamido commented Jan 27, 2021

I have a place in my doc that read:

(word/words)

this format apparently is enough to make this script throw an error
ReferenceError: txt is not defined

(@jacksonicson tagging you here because I actually forked from you, if maybe you can help...)

@omarcostahamido
Copy link
Author

Before you ask: no I cannot simply go and change the link. It is actually auto generated by zotero...

@omarcostahamido omarcostahamido changed the title script crashes when italic hyperlink with "/" script crashes when italic hyperlink with "/" in parentesis Jan 27, 2021
@evbacher
Copy link

I am not sure why this is causing an error. I tried converting a link like (word/words) using the Docs to Markdown add-on. No error, but it did not preserve the italic formatting of the link. That's a bug too, but less serious.

@omarcostahamido
Copy link
Author

Dear @evbacher thank you so much for getting back to me on this.
Would it be possible to ask you to give a look at this version, to see if you can figure out where I messed up?

Thank you

@omarcostahamido
Copy link
Author

I think I fixed it here.

If you'd like to give it a look.

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