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

_ in URL interpreted as italic format #333

Open
paulgirard opened this issue May 25, 2020 · 1 comment
Open

_ in URL interpreted as italic format #333

paulgirard opened this issue May 25, 2020 · 1 comment

Comments

@paulgirard
Copy link
Member

Describe the bug
underscores in URL are interpreted as italic

To Reproduce

  1. enter this URL in any text section: http://ricardo.medialab.sciences-po.fr/WTW/Lund_seminar_20181010/#/20
  2. type anything (but newline) right after it
  3. seminar is now in italic, underscors disapeared

image
became
image

Expected behavior

Don't auto-format URL

Well, know that I understood that I can create a "web page resource" in the library I don't know if that's really a bug ?

@robindemourat
Copy link
Member

Yes that's not a bug that's a feature ;) - due to markdown shortcuts. Even if the preferred way is to create a webpage entity, this issue could be addressed by:

  • refactoring markdown shortcuts to avoid being triggered while being in middle of a word
  • implementing a URL detection mechanism (during pasting ? during any text input ?) to automatically create web page resources out of pasted plain text URLs

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

No branches or pull requests

2 participants