incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [04/22] git commit: Fixed tab indents
Date Tue, 20 Aug 2013 17:45:34 GMT
Fixed tab indents


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/d9248352
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/d9248352
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/d9248352

Branch: refs/heads/cj/6464
Commit: d9248352ac5e8dfe160a9d4d189b6be783c6e431
Parents: ba700e3
Author: Cory Johns <cjohns@slashdotmedia.com>
Authored: Mon Aug 19 20:31:01 2013 +0000
Committer: Cory Johns <cjohns@slashdotmedia.com>
Committed: Mon Aug 19 20:31:01 2013 +0000

----------------------------------------------------------------------
 Allura/allura/lib/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/d9248352/Allura/allura/lib/utils.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/utils.py b/Allura/allura/lib/utils.py
index 4bd1e3c..abd3fd4 100644
--- a/Allura/allura/lib/utils.py
+++ b/Allura/allura/lib/utils.py
@@ -503,6 +503,6 @@ class ForgeHTMLSanitizer(_HTMLSanitizer):
         if 'iframe' in self.acceptable_elements:
             self.acceptable_elements.remove('iframe')
         if (tag == 'iframe') and (dict(attrs).get('src', '').startswith('http://www.youtube.com/embed/')
or
-				  dict(attrs).get('src', '').startswith('https://www.gittip.com/')):
+                                  dict(attrs).get('src', '').startswith('https://www.gittip.com/')):
             self.acceptable_elements.append('iframe')
         _HTMLSanitizer.unknown_starttag(self, tag, attrs)


Mime
View raw message