[x] Add various unit tests for variables, glossary terms, custom HTML blocks, complex callouts, and style tags.
𧬠QA & Testing
Pull down this branch and try running the following snippet. If the HTML block serializes to plain text nicely (instead of giving back a blank string) this worked! :tada:
π§° Changes
Magic HTML blocks were being entirely skipped when serializing to plain text.
stripTags
option; internalized in theastToPlainText
processor. (Reverts #914.)𧬠QA & Testing
Pull down this branch and try running the following snippet. If the HTML block serializes to plain text nicely (instead of giving back a blank string) this worked! :tada:
Now give the
astToPlainText()
unit tests a whirl. If everything comes up green, we're good! π€