0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit
Kevin Ansfield 75ae3f8736 Added parsing of html cards when using ?source=html with the v2 Admin API
no issue

- when sending `html` with `?source=html` to the v2 Admin API it's now possible to include blocks of HTML that will be extracted to html cards rather than going through the normal lossy html-to-mobiledoc conversion

Example usage would be sending HTML in the following format:

```html
<p>Some standard content...</p>

<!--kg-card-begin: html-->
<div class="my-custom-html">...</div>
<!--kg-card-end: html-->

<p>Some more content...</p>
```

In this case an html card will be created in the mobiledoc with the content `<div class="my-custom-html">...</div>`.
2019-05-04 11:30:59 +01:00
..
adapters Removed superagent dependency (#10535) 2019-03-04 15:59:38 +08:00
api Added parsing of html cards when using ?source=html with the v2 Admin API 2019-05-04 11:30:59 +01:00
apps 🐛 Fixed empty amp page 2019-02-27 17:56:09 +01:00
config
data Fixed member permission/role relations in fixtures 2019-05-02 17:31:38 +02:00
helpers Removed use of filters module 2019-04-16 11:05:33 +02:00
lib Added caption support to code card renderer (#10719) 2019-05-01 17:10:24 +02:00
models Updated theme layer to use members-ssr (#10676) 2019-04-16 16:50:25 +02:00
public Refactored Ghost SDK unit test 2018-10-05 16:49:46 +02:00
services Restructured theme check logic 2019-04-22 22:34:12 +02:00
web Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00