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

Render embedded scripts like a video from github, scripts from codepen. #18

Open
luckypoem opened this issue Feb 15, 2017 · 1 comment
Labels

Comments

@luckypoem
Copy link

hi.

as per your repo,i setup a blog: http://gm.bright.biz.st/ ,but when i visit a post http://gm.bright.biz.st/#/post/207746382 which contains html code, the embedded html code can't be rendered,why?
how to fix it?

@xeodou
Copy link
Member

xeodou commented Feb 15, 2017

Hey @luckypoem Thanks for using the product. The reason embedded html doesn't work , it's because github doesn't support inject embedded scripts in safety reason. And use the content purely from github so we don't support it as well, please check the render method here https://github.com/graffie/mill-basic-theme/blob/master/htmls/article-detail.html#L11

@xeodou xeodou added the feat label Feb 15, 2017
@xeodou xeodou changed the title the embedded html code can't be rendered,why? Render embedded scripts like a video from github, scripts from codepen. Feb 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants