-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
task #9: Code block disappeared in IE8
Task-Url: http://github.com/dominch/redmine_highlightjs/issues/issue/9 Signed-off-by: Dominik Chmaj <[email protected]>
- Loading branch information
Dominik Chmaj
authored and
Dominik Chmaj
committed
Sep 16, 2015
1 parent
7a786ee
commit fece080
Showing
3 changed files
with
32 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'useragent' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
module HighlightjsHighlighting | ||
class << self | ||
def highlight_by_filename(text, filename) | ||
Rails.logger.warn "redmine_highlightjs: syntax by filename #{filename}" | ||
Rails.logger.info "redmine_highlightjs: syntax by filename #{filename}" | ||
end | ||
|
||
def highlight_by_language(text, language) | ||
Rails.logger.warn "redmine_highlightjs: syntax #{language}" | ||
Rails.logger.info "redmine_highlightjs: syntax #{language}" | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters