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

mermaid markdown can not render after upgrading gitea from 1.14.x to 1.15.10 #18381

Closed
zhengmz opened this issue Jan 24, 2022 · 8 comments · Fixed by #18382
Closed

mermaid markdown can not render after upgrading gitea from 1.14.x to 1.15.10 #18381

zhengmz opened this issue Jan 24, 2022 · 8 comments · Fixed by #18382
Labels
Milestone

Comments

@zhengmz
Copy link

zhengmz commented Jan 24, 2022

Gitea Version

docker images: gitea/gitea:1.15.10

Git Version

No response

Operating System

CentOS7 for host os

How are you running Gitea?

docker-compose

Database

PostgreSQL

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Description

When a mermaid markdown is added to issue or README.md, it does not render as expected.
It can render normal in try.gitea.io.

BTW: my gitea server upgraded from 1.4.x step by step.

Screenshots

write in issue or README.md

image

but cannot render

image

@wxiaoguang
Copy link
Contributor

wxiaoguang commented Jan 24, 2022

Please provide logs, eg: is there any network failure? is there any JS error?

And Gitea 1.16 is RC now, how about trying Gitea 1.16?

@wxiaoguang wxiaoguang added the issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail label Jan 24, 2022
@zhengmz
Copy link
Author

zhengmz commented Jan 24, 2022

Web browser (Edge) console have:

image

@wxiaoguang
Copy link
Contributor

wxiaoguang commented Jan 24, 2022

Could you try:

  1. Use Private Window or clean your browser cache (Ctrl+F5 for Windows browsers)? (to make sure all files are correct)
  2. Use 1.16? (if step 1 doesn't help, make sure whether the problem also happens in 1.16)

I just tried it on try.gitea.io (the frontend code is the same as 1.16): https://try.gitea.io/wxiaoguang/test/issues/1 , it works.

@wxiaoguang wxiaoguang changed the title mermaid markdown is not render from gitea 1.15.10 in docker mermaid markdown is not render from gitea 1.15.10 Jan 24, 2022
@wxiaoguang wxiaoguang changed the title mermaid markdown is not render from gitea 1.15.10 mermaid markdown can not render after upgrading gitea from 1.14.x to 1.15.10 Jan 24, 2022
@zhengmz
Copy link
Author

zhengmz commented Jan 24, 2022

Could you try:

  1. Use Private Window or clean your browser cache (Ctrl+F5 for Windows browsers)? (to make sure all files are correct)

does not work.

  1. Use 1.16? (if step 1 doesn't help, make sure whether the problem also happens in 1.16)

My current server is for product. I will try in a new docker container.

I just tried it on try.gitea.io (the frontend code is the same as 1.16): https://try.gitea.io/wxiaoguang/test/issues/1 , it works.

thank you.

@wxiaoguang
Copy link
Contributor

wxiaoguang commented Jan 24, 2022

I just tried 1.15.10 and can confirm this is a bug in 1.15.10 😭

There isn't important change in 1.15.10 (see the changelog), so you might use 1.15.9 instead, and then 1.16

@wxiaoguang
Copy link
Contributor

@lunny lunny added type/bug and removed issue/needs-feedback For bugs, we need more details. For features, the feature must be described in more detail labels Jan 24, 2022
@lunny lunny added this to the 1.15.11 milestone Jan 24, 2022
@wxiaoguang wxiaoguang linked a pull request Jan 24, 2022 that will close this issue
@zhengmz
Copy link
Author

zhengmz commented Jan 24, 2022

I just tried 1.15.10 and can confirm this is a bug in 1.15.10 😭

There isn't important change in 1.15.10 (see the changelog), so you might use 1.15.9 instead, and then 1.16

thank, 1.15.9 work well.

@silverwind
Copy link
Member

Will be fixed next release.

@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants