Gitea cannot analysis html in markdown #4004

Closed
opened 2025-11-02 05:33:45 -06:00 by GiteaMirror · 8 comments
Owner

Originally created by @yzqdev on GitHub (Sep 24, 2019).

  • Gitea version (or commit ref):
  • Git version: 2.12.0
  • Operating system: windows 10 1903
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

it cannot analysis html in markdown ,but github and gitee could.
...

Screenshots

below is gitea
image
below is github
image

Originally created by @yzqdev on GitHub (Sep 24, 2019). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): - Git version: 2.12.0 - Operating system: windows 10 1903 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - [ ] Not relevant - Log gist: ## Description it cannot analysis html in markdown ,but github and gitee could. ... ## Screenshots below is gitea ![image](https://user-images.githubusercontent.com/20037151/65477827-1b035f80-deba-11e9-8ee9-c1038c52cff1.png) below is github ![image](https://user-images.githubusercontent.com/20037151/65477939-84836e00-deba-11e9-9f1e-3a726b678d0b.png) <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the issue/confirmedtype/enhancement labels 2025-11-02 05:33:45 -06:00
Author
Owner

@bagasme commented on GitHub (Sep 24, 2019):

What is your GitHub repo for this issue?

@bagasme commented on GitHub (Sep 24, 2019): What is your GitHub repo for this issue?
Author
Owner

@yzqdev commented on GitHub (Sep 24, 2019):

https://gitea.com/yzqdev/mark2html/src/branch/master/README.md
image

@yzqdev commented on GitHub (Sep 24, 2019): https://gitea.com/yzqdev/mark2html/src/branch/master/README.md ![image](https://user-images.githubusercontent.com/20037151/65506094-5ffcb580-defd-11e9-9053-38403f8cb96d.png)
Author
Owner

@yzqdev commented on GitHub (Sep 24, 2019):

What is your GitHub repo for this issue?

It renders markdown unlike github. (rendering html in markdown)

@yzqdev commented on GitHub (Sep 24, 2019): > What is your GitHub repo for this issue? It renders markdown unlike github. (rendering html in markdown)
Author
Owner

@stale[bot] commented on GitHub (Nov 29, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Nov 29, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@redianthus commented on GitHub (Aug 11, 2021):

Also, it would be great to patch the HTML so that e.g. relative links/images render well (as it's done in pure MarkDown).

E.g. here ; images are not rendered because HTML is not handled correctly (the link should be modified so that it points to the raw image).

@redianthus commented on GitHub (Aug 11, 2021): Also, it would be great to patch the HTML so that e.g. relative links/images render well (as it's done in pure MarkDown). E.g. [here](https://git.zapashcanon.fr/zapashcanon/www.ocamlpro.com/src/branch/master/src/content/index.md) ; images are not rendered because HTML is not handled correctly (the link should be modified so that it points to the raw image).
Author
Owner

@zeripath commented on GitHub (Aug 11, 2021):

Please see: https://try.gitea.io/arandomer/www.ocamlpro.com/src/branch/master/src/content/index.md

Fixed by #15088

@zeripath commented on GitHub (Aug 11, 2021): Please see: https://try.gitea.io/arandomer/www.ocamlpro.com/src/branch/master/src/content/index.md Fixed by #15088
Author
Owner

@zeripath commented on GitHub (Aug 11, 2021):

If that is all this issue is about I think we can finally close this as fixed.

@zeripath commented on GitHub (Aug 11, 2021): If that is all this issue is about I think we can finally close this as fixed.
Author
Owner

@redianthus commented on GitHub (Aug 12, 2021):

Great, thanks ! :)

@redianthus commented on GitHub (Aug 12, 2021): Great, thanks ! :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4004