Details
-
Bug
-
Resolution: Fixed
-
Major
-
0.13
-
Unit
-
Unknown
-
N/A
-
N/A
-
Description
Reproduction steps
- Edit a page, make some text bold or italic, select it and insert a link to a wiki page
- save and observe the page in view mode
Expected
A link is present and its text styled
Actual
The link failed to be parsed and the content below is presented in the page
[[My text *with italic*|The.Reference]]
Reproduction unit test
it("renders link with italic", () => { const defaultMarkdownRenderer = initComponent(); expect(defaultMarkdownRenderer.render(`[[*italic*|Main.WebHome]]`)).toBe( "<p><a href='https://cristal.xwiki.org'><em>italic</em>Reference</a></p>\n", ); })