Skip to content

Discrepency between preview of comment and actual comment #2276

@XRFXLP

Description

@XRFXLP

Bug

HTML tags(except some self closing tags) and KaTeX shows the expected representation in the preview but not in the actual comment.

On using following snippet:

Headings:
<h1>H</h1>

Colored text:  <span style="color:red"> Red coloured text</span>

    

Image:

<img src="https://www.wikipedia.org/portal/wikipedia.org/assets/img/Wikipedia-logo-v2.png"/>



Line break:  
AAAAAAAA<br/>BBBBBBBB  

Horizontal line: 
<hr/>

KaTeX:
    ```math

            \displaystyle{\oint_L} \dfrac{dz}{z} = 2 \pi i

    ```While previewing::![image](https://user-images.githubusercontent.com/23459568/100134896-e7053f00-2eae-11eb-8020-d1fb8cda0bbf.png)But in the actual comment: ![image](https://user-images.githubusercontent.com/23459568/100135151-3ba8ba00-2eaf-11eb-9728-6e382a7bda36.png)

As you can see only self-closing tags have positive consistent behaviour.

Expected behaviour

There should consistency between actual comment and preview of the comment

Additional context

This behaviour has nothing to do with last UI update, I've seen this couple of months ago.

┆Issue is synchronized with this Clickup by Unito

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