-
Notifications
You must be signed in to change notification settings - Fork 197
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
🐛 FIX: front-matter rendering with docutils #477
Conversation
Codecov Report
@@ Coverage Diff @@
## master #477 +/- ##
==========================================
+ Coverage 90.18% 90.19% +0.01%
==========================================
Files 16 16
Lines 2027 2030 +3
==========================================
+ Hits 1828 1831 +3
Misses 199 199
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
After #477, I noted that the `SmartQuote` transform was being applied to the front-matter values, before they were extracted to the document metadata. Therefore, we now add them as a `literal` to stop this happening.
For the docutils base HTML writer, it is expected that
field_body
contain block elements (e.g.paragraph
) as children, rather thanText
, meaning this file:leads to: