math: Two display-style equations in a quote env don't render #11907

Closed
opened 2025-11-02 09:51:32 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @nschloe on GitHub (Oct 24, 2023).

Description

Another weird little math bug: This

> \[
> a
> \]
> \[
> b
> \]

isn't shown as two subsequent equations, but as

screenshot_2023-10-24-200720

For comparison, this is what

> ```math
> a
> ```
> ```math
> b
> ```

renders as on GitHub:

screenshot_2023-10-24-200808

($$-math in quotes in broken.)

Gitea Version

1.22.0+dev-233-g796ff26e0

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?

https://try.gitea.io/

Database

None

Originally created by @nschloe on GitHub (Oct 24, 2023). ### Description Another weird little math bug: This ```markdown > \[ > a > \] > \[ > b > \] ``` isn't shown as two subsequent equations, but as ![screenshot_2023-10-24-200720](https://github.com/go-gitea/gitea/assets/181628/7b5d9229-a139-4698-955e-7489e10d4ef6) For comparison, this is what ````markdown > ```math > a > ``` > ```math > b > ``` ```` renders as on GitHub: ![screenshot_2023-10-24-200808](https://github.com/go-gitea/gitea/assets/181628/bd8a46dd-8576-49e1-b4b6-c6776d6d0f3c) (`$$`-math in quotes in broken.) ### Gitea Version 1.22.0+dev-233-g796ff26e0 ### 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? https://try.gitea.io/ ### Database None
GiteaMirror added the type/bug label 2025-11-02 09:51:32 -06:00
Author
Owner

@nschloe commented on GitHub (Dec 5, 2024):

Still an issue on 1.23.0+dev-753-gc5422fae9a (Dec 2024).

@nschloe commented on GitHub (Dec 5, 2024): Still an issue on 1.23.0+dev-753-gc5422fae9a (Dec 2024).
Author
Owner

@wxiaoguang commented on GitHub (Dec 6, 2024):

Will fix it in 1.23

image

@wxiaoguang commented on GitHub (Dec 6, 2024): Will fix it in 1.23 ![image](https://github.com/user-attachments/assets/cd6d8b33-e382-4ee1-ae51-b89179abd84a)
Author
Owner

@wxiaoguang commented on GitHub (Dec 6, 2024):

1.23 nightly is ready and I think it should have been fixed, feel free to take a try

image

@wxiaoguang commented on GitHub (Dec 6, 2024): 1.23 nightly is ready and I think it should have been fixed, feel free to take a try ![image](https://github.com/user-attachments/assets/e5100f40-875b-4f6a-b934-f2d4c05d2d21)
Author
Owner

@nschloe commented on GitHub (Dec 8, 2024):

Confirmed working, thanks!

@nschloe commented on GitHub (Dec 8, 2024): Confirmed working, thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11907