summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-29 14:52:57 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-29 14:52:57 +0000
commite4518af32a00d1b28e0a2536679d9dc1b645802f (patch)
tree792b5647e3c67a8fd99bfdca28b0d28759d81293 /lib
parent08f200c4875f20ecd7b80d761b3c5c8a77fce9f7 (diff)
downloadredmine-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.rb2
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