Project

General

Profile

Actions

Defect #25634

closed

Highlight language aliases are no more supported

Added by Benoît Zugmeyer over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
High
Category:
Text formatting
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Following r16501 (released in Redmine 3.3.3), highlight language aliases (the "map" property declared in coderay-1.1.1/lib/coderay/scanners/_map.rb ) are not taken into account when checking if a language is supported.

We used to write code snippets with code class="javascript" , but since the true JavaScript coderay scanner is called java_script.rb, all our JS snippets aren't highlighted anymore.


Files

25634-r16501.png (42.9 KB) 25634-r16501.png Go MAEDA, 2017-04-24 04:30
25634-r16502.png (38.9 KB) 25634-r16502.png Go MAEDA, 2017-04-24 04:30
fix-defect-25634.diff (1.64 KB) fix-defect-25634.diff patch Go MAEDA, 2017-05-20 09:14

Related issues

Related to Redmine - Defect #26055: Three issues with Redmine::SyntaxHighlighting::CodeRay.language_supported?ClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF