🐛 Fixed markdown for linked images being mangled in some cases

refs https://github.com/TryGhost/Team/issues/596

Since Ghost 3.0, if a same-site image in a markdown card was linked to a same-site URL (eg: `![![Image Alt](/content/images/example.png)](/example-post)`) then the source markdown was mangled by the absolute/relative URL transforms.

- bumped `@tryghost/url-utils` to a fixed version (see https://github.com/TryGhost/SDK/pull/379)
This commit is contained in:
Kevin Ansfield 2021-03-31 19:39:07 +01:00
parent f3a581ef7f
commit 95751a0e5f
2 changed files with 5 additions and 5 deletions

View File

@ -67,7 +67,7 @@
"@tryghost/session-service": "0.1.17",
"@tryghost/social-urls": "0.1.21",
"@tryghost/string": "0.1.17",
"@tryghost/url-utils": "1.1.1",
"@tryghost/url-utils": "1.1.2",
"@tryghost/vhost-middleware": "1.0.13",
"@tryghost/zip": "1.1.10",
"amperize": "0.6.1",

View File

@ -682,10 +682,10 @@
dependencies:
unidecode "^0.1.8"
"@tryghost/url-utils@1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@tryghost/url-utils/-/url-utils-1.1.1.tgz#a76f585aa67864ee2ae9cf88800993cfba2d49ca"
integrity sha512-foO7cGlFZ5NMWkVwYZ+ZiMvzNokPVlqmObjV9u6R/ZQ1PKU0t4n+flJ8THRKcELqU3PNZ4ucfaXxz8Rv/QnJRw==
"@tryghost/url-utils@1.1.2":
version "1.1.2"
resolved "https://registry.yarnpkg.com/@tryghost/url-utils/-/url-utils-1.1.2.tgz#9e62e5a235ed0058770e8ab8b8fb4cb974bd8da8"
integrity sha512-zBWt/8ytLA9rsc8H+2AcTYUM1uZikj5odrl/QmXx4W4p9aJqAWv+2HkpX0VhvMEeMkxJf3UFFtoMdSa3lCHrVg==
dependencies:
cheerio "0.22.0"
moment "2.27.0"