Trying to automatically embed links to Acast podcasts.
So the link may look like: https://www.acast.com/footballramble/earthwormsean
I'm using the following to match the URL's
And the following embed template:
Which all seems fine... except... one of the slashes in the url is being converted to %2F when the bb code is parsed - so the embed breaks.
Any way to stop that slash being converted? I just need it to remain a slash and then it will work.
So the link may look like: https://www.acast.com/footballramble/earthwormsean
I'm using the following to match the URL's
Code:
#acast\.com/(?P<id>[a-zA-Z0-9._-]+/[a-zA-Z0-9._-]+)#siu
And the following embed template:
Code:
<iframe width="400" height="400" src="https://embed.acast.com/{$id}" scrolling="no" frameborder="0" style="border:none;overflow:hidden;"></iframe>
Which all seems fine... except... one of the slashes in the url is being converted to %2F when the bb code is parsed - so the embed breaks.
Any way to stop that slash being converted? I just need it to remain a slash and then it will work.