8000 Fix visual regression by moving script position to after closing section by yhatt · Pull Request #131 · marp-team/marp-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix visual regression by moving script position to after closing section #131

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

Merged
merged 5 commits into from
Nov 18, 2019

Conversation

yhatt
Copy link
Member
@yhatt yhatt commented Nov 18, 2019

It would fix visual regression reported in marp-team/marp-vscode#101.

Marp Core's script will be appended to the content of the last slide. However, this injection would affect to *:last-child CSS selector.

Typically to inject script into after </section> should have no problem. We have patched renderer for slide closing token instead of inserting new token, to support Marpit's htmlAsArray flag.

@yhatt yhatt changed the title Move script injection position to after closing section Fix visual regression by moving script position to after closing section Nov 18, 2019
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

Successfully merging this pull request may close these issues.

1 participant
0