@@ -786,7 +786,7 class RedCloth < String | |||||
786 | atts << " title=\"#{ title }\"" if title |
|
786 | atts << " title=\"#{ title }\"" if title | |
787 | atts = shelve( atts ) if atts |
|
787 | atts = shelve( atts ) if atts | |
788 |
|
788 | |||
789 | external = (url =~ /^http:\/\//) ? ' class="external"' : '' |
|
789 | external = (url =~ /^https?:\/\//) ? ' class="external"' : '' | |
790 |
|
790 | |||
791 | "#{ pre }<a#{ atts }#{ external }>#{ text }</a>#{ post }" |
|
791 | "#{ pre }<a#{ atts }#{ external }>#{ text }</a>#{ post }" | |
792 | end |
|
792 | end |
General Comments 0
You need to be logged in to leave comments.
Login now