Skip to content

Empty comment render, but there is text #34526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
stuzer05 opened this issue May 23, 2025 · 3 comments
Open

Empty comment render, but there is text #34526

stuzer05 opened this issue May 23, 2025 · 3 comments
Labels
issue/not-a-bug The reported issue is the intended behavior or the problem is not inside Gitea

Comments

@stuzer05
Copy link
Contributor

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

@wxiaoguang
Copy link
Contributor

Not a bug. The same as GitHub

<tag ... is invalid embeded HTML for markdown

@wxiaoguang wxiaoguang added issue/not-a-bug The reported issue is the intended behavior or the problem is not inside Gitea and removed type/bug labels May 23, 2025
@stuzer05
Copy link
Contributor Author

Not a bug. The same as GitHub

<tag ... is invalid embeded HTML for markdown

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

@wxiaoguang
Copy link
Contributor

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

I don't see why it should be valid.

<?php>

You see nothing below:

Image


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue/not-a-bug The reported issue is the intended behavior or the problem is not inside Gitea
Projects
None yet
Development

No branches or pull requests

2 participants