From fedbfb3c67ec99e7ec6085f04589e4ef9956834d Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Mon, 29 Nov 2021 11:43:53 +0000 Subject: [PATCH] Added alt-style blockquote support when creating posts using HTML refs https://github.com/TryGhost/Team/issues/1239 - bumps `@tryghost/html-to-mobiledoc` that uses a new parser plugin for transforming `
` to an `aside` section in mobiledoc as that's what we use as a workaround for storing alternative blockquote style --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index c233a4d218..dc283ce257 100644 --- a/package.json +++ b/package.json @@ -174,7 +174,7 @@ "xml": "1.0.1" }, "optionalDependencies": { - "@tryghost/html-to-mobiledoc": "1.3.4", + "@tryghost/html-to-mobiledoc": "1.4.0", "sqlite3": "5.0.2" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 12f74828e3..78a20de95c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1363,12 +1363,12 @@ dependencies: lodash-es "^4.17.11" -"@tryghost/html-to-mobiledoc@1.3.4": - version "1.3.4" - resolved "https://registry.yarnpkg.com/@tryghost/html-to-mobiledoc/-/html-to-mobiledoc-1.3.4.tgz#badc3f562beb5e05e5522336bc0a9ae3716e26c1" - integrity sha512-DNP5gy5XdtARov2pv4hZDiwYMUQeXyuOC1sxsfzcvfDXQhNdudlMsPAsRtepQWnfKTD/IV7nx+/ND6G8pNgeAg== +"@tryghost/html-to-mobiledoc@1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@tryghost/html-to-mobiledoc/-/html-to-mobiledoc-1.4.0.tgz#2da1d4574e14eefe9b5d533eed454aa901408bf4" + integrity sha512-3DiiFxm4D1itw6pehPERDH21ZN5FAXs3Hgbd/9F80jLe4m30LHGK27RKOPtIOBztXoO98Sbr9mIg6WuRo4rC4Q== dependencies: - "@tryghost/kg-parser-plugins" "^2.6.4" + "@tryghost/kg-parser-plugins" "^2.7.0" "@tryghost/mobiledoc-kit" "^0.12.4-ghost.1" jsdom "^16.5.3" @@ -1448,10 +1448,10 @@ semver "^7.3.4" simple-dom "^1.4.0" -"@tryghost/kg-parser-plugins@^2.6.4": - version "2.6.4" - resolved "https://registry.yarnpkg.com/@tryghost/kg-parser-plugins/-/kg-parser-plugins-2.6.4.tgz#280bea23e32caaa2a52231920ccc9fdd67a3df01" - integrity sha512-rktL8SYS9nV/q0KOHFVPWVkAjZVlNvLBOcQh868dd+LtWa3gIc0UoRM72gWUkGTVqCsGQ2421gI/QoZezEr+Mw== +"@tryghost/kg-parser-plugins@^2.7.0": + version "2.7.0" + resolved "https://registry.yarnpkg.com/@tryghost/kg-parser-plugins/-/kg-parser-plugins-2.7.0.tgz#631dce3d5597c2dda8810c2cdfa08848c36dae71" + integrity sha512-OavKPJbVM4Qn23fByCzloklQdRK2MIEFC0Ak50oiPq2udfBler+rLnAPWpbPc4+92yQM1DBVG2l2z78ixyQXcA== dependencies: "@tryghost/kg-clean-basic-html" "^2.2.3"