This commit is contained in:
bootstraponline
2012-12-18 17:20:49 -07:00
parent cb1a633dc5
commit 8e3795c317
+2 -1
View File
@@ -45,7 +45,8 @@ module Gollum
# Default whitelisted protocols for URLs.
PROTOCOLS = {
'a' => {'href' => ['http', 'https', 'mailto', 'ftp', 'irc', 'apt', :relative]},
'img' => {'src' => ['http', 'https', :relative]}
'img' => {'src' => ['http', 'https', :relative]},
'form' => {'action' => ['http', 'https', :relative]}
}.freeze
ADD_ATTRIBUTES = lambda do |env, node|