Skip to content
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

Escaped CheckBox lists are rendered wrong #23700

Open
hoijui opened this issue Mar 25, 2023 · 0 comments
Open

Escaped CheckBox lists are rendered wrong #23700

hoijui opened this issue Mar 25, 2023 · 0 comments

Comments

@hoijui
Copy link

hoijui commented Mar 25, 2023

Description

... rendered wrong, according to my expectation, and compared to GitLab and GitHub.

Strictly speaking, the normal check-box-list syntax (which is an extension to standard Markdown):

- [x] a
- [ ] b
- [x] c
- [ ] d

conflicts with the Reference-List syntax (which is standard Markdown):

This is a reference link: [x]

[x]: https://github.com/go-gitea/gitea

This is an issue, for example when using link-checkers (my case),
or if one actually wants to use a reference link [x] (somewhat hypothetical).
To prevent this, both GitHub and GitLab support escaping the square-brackets for check-box-lists, like so:

- \[x\] a
- \[ \] b
- \[x\] c
- \[ \] d

This works great, as my link-checker does not pick these up as (broken) Reference-Links anymore,
and the Git* sites and my local editor renders them just the same.

... Gitea does not, though. It shows a greek X letter as image in the middle of the screen -
I guess some sort of math-rendering thing.

Example:

https://try.gitea.io/hoijui/my-test/src/commit/05f490632b577d33fbf51e781de9d6e5e6e2718c/README.md

Gitea Version

as in codeberg.org

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

through codeberg.org

Database

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants