0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test/unit/lib
Kevin Ansfield ce8bc9d4bf Added imageOptimization:srcsets config to allow disabling of srcset attrs in content
no issue

- pass `srcsets` value through to mobiledoc renderer
  - it will stop adding `srcset` attributes to images when explicitly set to `false`
- adds `reload()` method to `mobiledocLib` so that memoized instances of the renderer can be reset during tests that change config values
2020-06-15 16:45:36 +01:00
..
fs Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
image Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00
promise Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
security Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
external-request_spec.js Merge pull request from GHSA-4m2q-w26j-h268 2020-06-02 14:30:10 +01:00
ghost-version_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
mobiledoc_spec.js Added imageOptimization:srcsets config to allow disabling of srcset attrs in content 2020-06-15 16:45:36 +01:00
request_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00