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

Move Sanitize filter further to front of filter chain, don't sanitize Macros seperately #428

Closed
wants to merge 2 commits into from

Conversation

dometto
Copy link
Member

@dometto dometto commented Sep 12, 2022

Resolves #408.

I couldn't move the Sanitize filter all the way to the front since that caused the TOC to render incorrectly. But now it's in front of (i.e. executed after) the Macro filter and others, which is safer. Removed the separate sanitization step in the Macro filter.

We could still try placing the BibTeX filter behind the Sanitize filter so that gets sanitized as well.

There is a separate sanitization call in the YAML filter too, but that's unfortunately necessary because metadata gets parsed independently from the rest of the page.

dometto and others added 2 commits September 12, 2022 19:35
Remove unnecessary precompilation task.
@dometto dometto closed this Sep 13, 2022
@dometto dometto deleted the fix408 branch September 13, 2022 08:05
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