-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Medium
-
Component/s: Work Item - Backend - Rich Text
-
4
-
Severity 3 - Minor
Issue Summary
If the external link( hyperlink) has a Bold word, The Issue editor interprets it wrong and saves it in the DB with a markdown tag thus causing search API with expand=renderedFields option to bring malformed HTML.
Steps to Reproduce
- Create a text in the description field
- Add a link to the entire text by highlighting and clicking the link button
- Then select a particular word within the link and bold that word

- Call "expand=renderedField" parameter when calling the rest/api/3/search (or rest/api/2/search) API
- The API will return HTML with a markdown tag.
Expected Results
The front end should interpret and save the information properly (without markdown tags) in DB so that API could bring HTML correctly during the rendering option.
Actual Results
API result

HTML translation

Workaround
The workaround is essentially to create multiple hyperlinks with space between hyperlinks in a single content.
For instance, it would look something similar to this (content: link with/BOLD/text each have their own hyperlinks):
![]()
This particular issue when called via API with "expand=renderedFields" parameter will render the following:
![]()