aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/htmlscrubber.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-01-05 17:24:40 -0400
committerJoey Hess <joey@kitenet.net>2013-01-05 17:25:47 -0400
commit7173ef1b1315196903c7d05d664688cd65d324a0 (patch)
treedf6278dca197c14eca7ff46a6eb97a876b1e39c8 /IkiWiki/Plugin/htmlscrubber.pm
parent020b97577a88b0c023b256d6d2ea7db6d44289d4 (diff)
downloadikiwiki-7173ef1b1315196903c7d05d664688cd65d324a0.tar
ikiwiki-7173ef1b1315196903c7d05d664688cd65d324a0.tar.gz
htmlscrubber: Allow the URI schemes of major VCS's.
Diffstat (limited to 'IkiWiki/Plugin/htmlscrubber.pm')
-rw-r--r--IkiWiki/Plugin/htmlscrubber.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/htmlscrubber.pm b/IkiWiki/Plugin/htmlscrubber.pm
index b22d3aa9e..36c012c73 100644
--- a/IkiWiki/Plugin/htmlscrubber.pm
+++ b/IkiWiki/Plugin/htmlscrubber.pm
@@ -28,7 +28,8 @@ sub import {
"aim", "callto", "cvs", "ed2k", "feed", "fish", "gg",
"irc", "ircs", "lastfm", "ldaps", "magnet", "mms",
"msnim", "notes", "rsync", "secondlife", "skype", "ssh",
- "sftp", "smb", "sms", "snews", "webcal", "ymsgr", "bitcoin"
+ "sftp", "smb", "sms", "snews", "webcal", "ymsgr",
+ "bitcoin", "git", "svn", "bzr", "darcs", "hg"
);
# data is a special case. Allow a few data:image/ types,
# but disallow data:text/javascript and everything else.