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

Note HTML: Replace bidi control chars with HTML #3215

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AbeJellinek
Copy link
Member

This is intended to fix zotero/zotero#3552. I don't have access to desktop Office and the problem doesn't occur in Word Online, so this is just a best guess.

We could use <bdi>, but <span> seems safer; very old editors (<bdi> was implemented in browsers around 2012) might handle an unknown tag badly.

All editors I tried - Word Online, Google Docs, TextEdit, Zotero's note editor - strip the <span>s when pasting, so they're harmless but also maybe useless. I think I like the idea of keeping them because they do serve a purpose, but we could also just remove them fully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Unicode "isolate" characters showing in Word/PowerPoint after annotation Quick Copy
1 participant