Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Do not transform vimeo or youtube url inside anchor tag#3

Open
pomartel wants to merge 3 commits intodejan:masterfrom
pomartel:vimeo_youtube_href
Open

Do not transform vimeo or youtube url inside anchor tag#3
pomartel wants to merge 3 commits intodejan:masterfrom
pomartel:vimeo_youtube_href

Conversation

@pomartel
Copy link

This pull request fixes the vimeo and youtube script to make sure that URLs inside anchor tags are not transformed. Such as this for example:

<a href="http://www.vimeo.com/3300155">vimeo</a>

I wasn't able to tweak the Youtube regex properly since the http is optional, which mesk . So I had to come up with something a bit more convoluted.

@pomartel pomartel changed the title Do not transfer vimeo or youtube url inside anchor tag Do not transform vimeo or youtube url inside anchor tag Apr 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant