Patch #943 ยป wikihttps.diff
lib/redcloth.rb (working copy) | ||
---|---|---|
785 | 785 |
atts << " title=\"#{ title }\"" if title |
786 | 786 |
atts = shelve( atts ) if atts |
787 | 787 |
|
788 |
external = (url =~ /^http:\/\//) ? ' class="external"' : '' |
|
788 |
external = (url =~ /^https?:\/\//) ? ' class="external"' : ''
|
|
789 | 789 |
|
790 | 790 |
"#{ pre }<a#{ atts }#{ external }>#{ text }</a>#{ post }" |
791 | 791 |
end |