medialab / fonio

a collaborative scholarly text editor allowing to build static websites
https://fonio.medialab.sciences-po.fr/demo
GNU Affero General Public License v3.0
67 stars 6 forks source link

_ in URL interpreted as italic format #333

Open paulgirard opened 4 years ago

paulgirard commented 4 years ago

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 commented 4 years ago

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: