Skip to content

[Bug] markdown parentheses in link #10431

@TimerWolf

Description

@TimerWolf
  • Gitea version (1.12.0+dev-360-g9ed4aeeaf):
  • Git version: unknown
  • Operating system: unknown
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
    • Not relevant
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:
    • Not relevant

Description

This is an other example of the markdown when you use title with "markdown" the parentheses make it unbalanced, and then the function will broke, but as you can see it works perfectly fine here in github.

So try the example here and see that it works fine, and the copy it in latest gitea build and see that the "markdown style" is broken while the clean html works just fine.

As always, hover the mouse over the "broken" and "works" to show "title tooltip" and it will show you the results.

Code

| Test |
| -------- |
| [broken](https://: "This shows that () is broken when use it in the markdown style in the title") |
|  <a href="https://:" title="This shows that () works fine when use it in html style in the title">works</a> |

Example

Test
broken
works

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions