Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example of special-transformation has a bug. #97

Open
nathan60107 opened this issue Sep 23, 2020 · 0 comments
Open

Example of special-transformation has a bug. #97

nathan60107 opened this issue Sep 23, 2020 · 0 comments

Comments

@nathan60107
Copy link

The example here, say

...
transform: str =>
`<iframe src="https://www.youtube.com/embed/${str.replace(
	/.*watch\?v\=(.*)$/,
	"$1"
)}"/>`
...

The iframe tag is not closed correctly, so any Html below it will not appear.
Please fix it.
And thank you for Anchorme, it helps me a lot.

@nathan60107 nathan60107 changed the title Example of special-transformation fail. Example of special-transformation has a bug. Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant