summaryrefslogtreecommitdiffstats
path: root/lib/redmine/wiki_formatting.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-01 17:45:40 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-10-01 17:45:40 +0000
commit47e7ceacd72d9d9e022c118d069d6934563e1f74 (patch)
tree33b6e0ad35d0983892924c1d2cf928d1c532fc3a /lib/redmine/wiki_formatting.rb
parent48fb20f5407ce8905755d91149dc7f8c7915c6d0 (diff)
downloadredmine-47e7ceacd72d9d9e022c118d069d6934563e1f74.tar.gz
redmine-47e7ceacd72d9d9e022c118d069d6934563e1f74.zip
Better handling of external link style assignment.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@792 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/wiki_formatting.rb')
-rw-r--r--lib/redmine/wiki_formatting.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/wiki_formatting.rb b/lib/redmine/wiki_formatting.rb
index 6f2aea0ae..da04dd932 100644
--- a/lib/redmine/wiki_formatting.rb
+++ b/lib/redmine/wiki_formatting.rb
@@ -99,7 +99,7 @@ module Redmine
# and URL's prefixed with ! !> !< != (textile images)
all
else
- %(#{leading}<a href="#{proto=="www."?"http://www.":proto}#{url}">#{proto + url}</a>#{post})
+ %(#{leading}<a class="external" href="#{proto=="www."?"http://www.":proto}#{url}">#{proto + url}</a>#{post})
end
end
end