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

Markdown doesn't render math within brackets #31371

Closed
lns opened this issue Jun 14, 2024 · 0 comments · Fixed by #31420
Closed

Markdown doesn't render math within brackets #31371

lns opened this issue Jun 14, 2024 · 0 comments · Fixed by #31420
Labels

Comments

@lns
Copy link

lns commented Jun 14, 2024

Description

It seems markdown doesn't render math within brackets.

For example, on Github the markdown

$i = \sqrt{-1}$ ($i = \sqrt{-1}$)

renders as

$i = \sqrt{-1}$ ($i = \sqrt{-1}$)

However, on Gitea it renders differently
9ef3e3b7-c81f-428b-9b0c-f097b2558e39

Gitea Version

1.23.0+dev-218-g90bcdf9829

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?

Reproduced at https://demo.gitea.com/

Database

None

@lns lns added the type/bug label Jun 14, 2024
charles7668 added a commit to charles7668/gitea that referenced this issue Jun 19, 2024
charles7668 added a commit to charles7668/gitea that referenced this issue Jun 19, 2024
GiteaBot pushed a commit to GiteaBot/gitea that referenced this issue Jun 20, 2024
Close go-gitea#31371, support `($ ... $)` like GitHub

Co-authored-by: wxiaoguang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant