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