feat(message-parser): Enabling Emphasis elements (bold, strike and italic) inside link label #864
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed changes (including videos or screenshots)
Currently, the message parser does not accept Emphasis elements mixed with plain text
[Normal Link - *Bold*, _Italic_ and ~strike~ Styles](https://rocket.chat/)
return plain text → Should return a Link with bold/italic/strikeTo fix this behavior it was necessary to edit the LinkSpan component in the gazzodown package (Pull Request here) and the grammar/utils files in this Pull Request
Send this markdown text:
Current Behavior:
Expected Behavior
Issue(s)
Further comments
P.S: Do not merge this until @RocketChat/reactnative team merges this feature in the Mobile app
TC-91