diff options
author | Ferdinand Thiessen <rpm@fthiessen.de> | 2022-07-09 19:51:27 +0300 |
---|---|---|
committer | Ferdinand Thiessen <rpm@fthiessen.de> | 2022-07-09 19:55:08 +0300 |
commit | 0de91fd4e0b39219ba828d566d21a4c4d9490842 (patch) | |
tree | df61b2d3efc141649a7ee3dfe4daab2e79fe4393 /src/tests | |
parent | 806f6c561764100aa033a3ed82da75c5db5fb88f (diff) |
Do not unintended remove or modify link titles, fixes #2699
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/markdown.spec.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/markdown.spec.js b/src/tests/markdown.spec.js index 8d5f51f58..34397eceb 100644 --- a/src/tests/markdown.spec.js +++ b/src/tests/markdown.spec.js @@ -83,6 +83,7 @@ describe('Markdown though editor', () => { }) test('links', () => { expect(markdownThroughEditor('[test](foo)')).toBe('[test](foo)') + expect(markdownThroughEditor('[test](foo "bar")')).toBe('[test](foo "bar")') }) test('images', () => { expect(markdownThroughEditor('![test](foo)')).toBe('![test](foo)') |