Skip to content

Plantuml highlighting doesn't work anymore #14219

@Sepphod

Description

@Sepphod

I updated recently to 1.13.1. I am not sure if either the issue existed already in 1.13.0 as I discovered it by coincidence with 1.13.1. But I am pretty sure with 1.12.6 everything was working.

My gitea uses an external plantuml server to render plantuml code blocks within markdown files. Now it doesn't anymore. I have seen that the names of the html classes with the rendered plantuml code was changed from "language-plantuml" to "chroma language plantuml". I changed this in the javascript (example from gitea customize page). Even I escaped it. It doesn't work. But I detected in the javascript console in the safari that the custom javascript is not called anymore. Could it be that with the changing to server side highlighting this feature was removed? I have seen in the discourse a similar issue with ASCIDOC.

Otherwise I am open to any other proposals. Or I have to switch back to 1.12.6.
thx

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions