diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-09-26 22:42:46 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-09-26 22:42:46 +0100 |
| commit | 8e6e755f793a02cf8986da1f8efb1c0c12d8d7a7 (patch) | |
| tree | b894fc137177f086317ed079af925b59a03204a4 /lib | |
| parent | 9463f5c6ba7161477a6be98e2620044ad2c967db (diff) | |
Escape markdown image alt text and src
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/writers/markdown-writer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/writers/markdown-writer.js b/lib/writers/markdown-writer.js index 02961fe..399acac 100644 --- a/lib/writers/markdown-writer.js +++ b/lib/writers/markdown-writer.js @@ -29,7 +29,7 @@ function markdownImage(attributes) { var src = attributes.src || ""; var altText = attributes.alt || ""; if (src || altText) { - return {start: ""}; + return {start: " + ")"}; } else { return {}; } |
