Skip to content

Commit 95751a0

Browse files
committed
🐛 Fixed markdown for linked images being mangled in some cases
refs TryGhost/Product#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 TryGhost/SDK#379)
1 parent f3a581e commit 95751a0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"@tryghost/session-service": "0.1.17",
6868
"@tryghost/social-urls": "0.1.21",
6969
"@tryghost/string": "0.1.17",
70-
"@tryghost/url-utils": "1.1.1",
70+
"@tryghost/url-utils": "1.1.2",
7171
"@tryghost/vhost-middleware": "1.0.13",
7272
"@tryghost/zip": "1.1.10",
7373
"amperize": "0.6.1",

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -682,10 +682,10 @@
682682
dependencies:
683683
unidecode "^0.1.8"
684684

685-
"@tryghost/[email protected].1":
686-
version "1.1.1"
687-
resolved "https://registry.yarnpkg.com/@tryghost/url-utils/-/url-utils-1.1.1.tgz#a76f585aa67864ee2ae9cf88800993cfba2d49ca"
688-
integrity sha512-foO7cGlFZ5NMWkVwYZ+ZiMvzNokPVlqmObjV9u6R/ZQ1PKU0t4n+flJ8THRKcELqU3PNZ4ucfaXxz8Rv/QnJRw==
685+
"@tryghost/[email protected].2":
686+
version "1.1.2"
687+
resolved "https://registry.yarnpkg.com/@tryghost/url-utils/-/url-utils-1.1.2.tgz#9e62e5a235ed0058770e8ab8b8fb4cb974bd8da8"
688+
integrity sha512-zBWt/8ytLA9rsc8H+2AcTYUM1uZikj5odrl/QmXx4W4p9aJqAWv+2HkpX0VhvMEeMkxJf3UFFtoMdSa3lCHrVg==
689689
dependencies:
690690
cheerio "0.22.0"
691691
moment "2.27.0"

0 commit comments

Comments
 (0)