diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-29 14:52:57 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-29 14:52:57 +0000 |
commit | e4518af32a00d1b28e0a2536679d9dc1b645802f (patch) | |
tree | 792b5647e3c67a8fd99bfdca28b0d28759d81293 /lib | |
parent | 08f200c4875f20ecd7b80d761b3c5c8a77fce9f7 (diff) | |
download | redmine-e4518af32a00d1b28e0a2536679d9dc1b645802f.tar.gz redmine-e4518af32a00d1b28e0a2536679d9dc1b645802f.zip |
Removed line numbers from syntax highlightment.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10131 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/syntax_highlighting.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/syntax_highlighting.rb b/lib/redmine/syntax_highlighting.rb index 3bb2bd122..d8ad4267f 100644 --- a/lib/redmine/syntax_highlighting.rb +++ b/lib/redmine/syntax_highlighting.rb @@ -46,7 +46,7 @@ module Redmine # Highlights +text+ using +language+ syntax # Should not return outer pre tag def highlight_by_language(text, language) - ::CodeRay.scan(text, language).html(:line_numbers => :inline, :line_number_anchors => false, :wrap => :span) + ::CodeRay.scan(text, language).html(:wrap => :span) end end end |