Releases: base-cms/body-import-parser
Releases · base-cms/body-import-parser
Do not strip spaces inside elements
Merge pull request #3 from base-cms/less-aggressive-space-stripping Do not strip single spaces inside elements
Header adjustments and prevent data extract
- Tweak heading adjustments and do not extract #2
Unit Tests + Element and Attribute Removal
Merge pull request #1 from base-cms/clean-elements Add unit tests and update pennwell default rule
Do not decode HTML entities
Ensures that embedded images (and the like) do not break.
When decoding, an embed would be incorrectly processed as:
<center>%{[ data-embed-type="image" data-embed-id="5c9cebaadad15fb329dd5219" data-embed-element="aside" contenteditable="false" ]}%</center>
When decoding is disabled, the embed is processed as expected:
<center>%{[ data-embed-type="image" data-embed-id="5c9cebaadad15fb329dd5219" data-embed-element="aside" contenteditable="false" ]}%</center>
This holds true for other HTML entities that are always being decoded by Base.
Deployment Automation
v0.1.1 Fix deployment script
Initial Release
v0.1.0 Lint it