Project

General

Profile

Actions

Defect #27685

closed

redmine_highlightjs plugin fix

Added by Alexey Prohasko over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

In redmine version 3.4.x, the theme change does not work in the plugin Redmine HighlightJS syntax(http://www.redmine.org/plugins/redmine_highlightjs). To fix this in a file located on the path: /{your redmine directory}/plugins/redmine_highlightjs/lib/hooks/view_highlighted_hook.rb you need to change

setting = Setting.plugin_redmine_highlightjs [: theme]

on

setting = Setting.plugin_redmine_highlightjs ['theme']


Files

view_highlighted_hook_working.rb (1.81 KB) view_highlighted_hook_working.rb Modified working file. If you will copy that file to your redmine, you must rename it to view_highlighted_hook.rb Alexey Prohasko, 2017-12-01 07:06
view_highlighted_hook.rb (1.81 KB) view_highlighted_hook.rb original file Alexey Prohasko, 2017-12-01 07:06
Actions #1

Updated by Toshi MARUYAMA over 6 years ago

  • Category deleted (Plugin API)
  • Status changed from New to Closed
  • Resolution set to Invalid
  • Affected version deleted (1.0.3)

Please contact plugin author.
This issue tracker is for only Redmine core.

Actions

Also available in: Atom PDF