##// END OF EJS Templates
Fixed: https urls in the wiki are not displayed as external (closes #943)....
Jean-Philippe Lang -
r1286:85858cebe64a
parent child
Show More
@@ -786,7 +786,7 class RedCloth < String
786 786 atts << " title=\"#{ title }\"" if title
787 787 atts = shelve( atts ) if atts
788 788
789 external = (url =~ /^http:\/\//) ? ' class="external"' : ''
789 external = (url =~ /^https?:\/\//) ? ' class="external"' : ''
790 790
791 791 "#{ pre }<a#{ atts }#{ external }>#{ text }</a>#{ post }"
792 792 end
General Comments 0
You need to be logged in to leave comments. Login now