Project

General

Profile

Patch #943 ยป wikihttps.diff

Marc Horowitz, 2008-03-28 06:02

View differences:

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
    (1-1/1)