Skip to content

Handling of nested formatting markup is inconsistent between editor, preview, and final rendering of a comment. #1617

Closed
@hobovsky

Description

@hobovsky

Description

Handling of nested formatting markup is inconsistent between editor, preview, and final rendering of a comment. Editor and preview seems to handle markup correctly, while submitted comment seems to miss parts of its markup.

To Reproduce

Create a large paragraph of text marked as italics. Mark one word of this paragraph as bold. Try different markup variants: "_text *bold* text_" or "*text **bold** text*" or " _text **bold** text_" . All of these seem to be handled correctly in editor itself and in editor preview.

Expected Behavior

Text formatted as "text bold text" .

Screenshots

For "_text *bold* text_":
Editor:
cwsshot31

Preview:
cwsshot32

Rendered comment:
cwsshot33

For "*text **bold** text*":
Preview:
cwsshot34

Rendered comment:
cwsshot35

Contexts

Win 10, Opera browser 56.0.3051.52.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions