Skip to content

markdown code fences - mariadb language as alias to mysql #18254

Closed
@hrvoj3e

Description

@hrvoj3e

Gitea Version

1.16.0

Operating System

Linux

Browser Version

Chrome 96 on Linux

Can you reproduce the bug on the Gitea demo site?

Yes

Description

SELECT z.label FROM mytable AS z WHERE id=1;
-- should highlight the same as mysql above
SELECT z.label FROM mytable AS z WHERE id=1;

Html that renders from Gitea

<pre><code class="chroma language-mariadb">
SELECT z.label FROM mytable AS z WHERE id=1;
</code></pre>

Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/upstreamThis is an issue in one of Gitea's dependencies and should be reported there

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions