Skip to content

Smart Punctuation converts double dash in url (e.g. youtube video id) to en-dash #1083

Open
@svenignor

Description

@svenignor

Version(s) affected

2.7.0

Description

We have an md article with multiple youtube videos embedded. one of the videos has a double dash in its id.
The video link is broken due to this.

How to reproduce

convert a markdown with

the link is for example (there may be many more): https://www.youtube.com/watch?v=--khbXchTeE

in it

Possible solution

exclude double dash conversion inside of urls

Additional context

No response

Did this project help you today? Did it make you happy in any way?

I love it 💯 👍 It made my life as developer and TYPO3 Admin a lot easier. We are writing our contents in a slightly modified version of your commonmark and added some custom extensions

Metadata

Metadata

Assignees

No one assigned

    Labels

    not enough infoWe need more information to properly assist with this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions