gitea icon indicating copy to clipboard operation
gitea copied to clipboard

Empty comment render, but there is text

Open stuzer05 opened this issue 7 months ago • 4 comments

Description

Put this text in comment and save

<?php

test

Image

will see empty comment render

Image

Gitea Version

1.25.0+dev-48-gb6bf128f1e

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

binary

Database

None

stuzer05 avatar May 23 '25 08:05 stuzer05

Not a bug. The same as GitHub

<tag ... is invalid embeded HTML for markdown

wxiaoguang avatar May 23 '25 14:05 wxiaoguang

Not a bug. The same as GitHub

<tag ... is invalid embeded HTML for markdown

Shouldn't tag be closed <?php> to be invalid?

stuzer05 avatar May 23 '25 18:05 stuzer05

Shouldn't tag be closed <?php> to be invalid?

I don't see why it should be valid.

<?php>

You see nothing below:

Image


wxiaoguang avatar May 25 '25 14:05 wxiaoguang

This one will fix: Fix commit message rendering and some UI problems #34680

wxiaoguang avatar Jun 10 '25 11:06 wxiaoguang