mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-16 20:43:01 +03:00
957f51e677
no issue The simpledom interpreter that the Mobiledoc DOM renderer uses does not allow for unbalanced or incorrect HTML such as that which is entered by a user. This PR adds a step where the HTML is sanitised and balanced before being passed to simpledom. - use latest jsdom (+pin version), update yarn.lock, add comments - don't use node-4 incompatible shorthand method definition - grab <body> content rather than document content - update markdown card specs to match markdown-it behaviour - revert to jsdom 9.12.0 for node 4.x support, close window to free memory - moved 3rd party libs into render function |
||
---|---|---|
.. | ||
atoms | ||
cards | ||
tests | ||
index.js |