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

HTML and PDF Export Fail With Script Tag in Code Block #43

Closed
kihashi opened this issue Oct 26, 2018 · 2 comments
Closed

HTML and PDF Export Fail With Script Tag in Code Block #43

kihashi opened this issue Oct 26, 2018 · 2 comments
Labels

Comments

@kihashi
Copy link

kihashi commented Oct 26, 2018

When including HTML code snippets in your presentation, including a </script> tag prevents the presentation from being exported cleanly.

You can see the effect in the starter presentation.-

## Learn the tricks

See the [wiki](https://github.com/gnab/remark/wiki) to learn more of what you can do with .alt[Remark.js]

---

```html 
<script></script>
```

This is what the output looks like from bs export

image

presentation.zip

Attached is the generated HTML file.

The syntax highlighting makes it clear where the error is:

image

@sinedied sinedied added the bug label Oct 26, 2018
@sinedied
Copy link
Owner

Yes, this issue was fixed in the featture/refactor branch.
In the meanwhile the new rewrite of the project is released (not anytime soon seeing my current free time), you can use it like this:

git clone <this repo>
git checkout feature/refactor
npm link

And then use the bs command normally.

@kihashi
Copy link
Author

kihashi commented Oct 26, 2018

I tried with the feature/refactor branch and it seems to be working.

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