Plantuml highlighting doesn't work anymore #14219

Closed
opened 2021-01-02 16:53:37 +00:00 by Sepphod · 0 comments
Sepphod commented 2021-01-02 16:53:37 +00:00 (Migrated from github.com)

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

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
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/gitea#14219
No description provided.