Skip to content

Links containing underscore do not work #2379

@42ske

Description

@42ske

Describe the bug
If an md-File ends with a link containing an underscore the link is not working anymore if you open the file the next time. "_“ is replaced by "_".

If you have a link-Text without _ the link still works, e.g. „Link" contains https://docs.nextcloud.com/server/stable/user_manual/de/files/projects.html

To Reproduce
Steps to reproduce the behavior:

  1. Open a md-file.
  2. Add a link containing an underscore as last text within the file (no further letters following) e. g. https://docs.nextcloud.com/server/stable/user_manual/de/files/projects.html
  3. close the file (or finish the file within Collectives)
  4. reopen the file an click on the link

Expected behavior
No changes should be done in Link-Texts so that they just work.

Client details:

  • OS: macOS 12.3.1
  • Browser: Firefox 100.0

Are the following infos necessary in this case?

Thanks for having a look.

Server details

Text app version: (see Nextcloud apps page)

Operating system:

Web server:

Database:

PHP version:

Nextcloud version: (see Nextcloud admin page)

Logs

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions