incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [42/50] git commit: [#6534] ticket:449 Don't allow html2text to wrap lines
Date Fri, 04 Oct 2013 23:23:48 GMT
[#6534] ticket:449 Don't allow html2text to wrap lines

It leads to unhealthy line breaks inside links, etc.


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

Branch: refs/heads/tv/6670
Commit: 1083aa87f7a676755c06674524a7debf61387fd7
Parents: a6a62ab
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Tue Oct 1 11:45:53 2013 +0300
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Fri Oct 4 14:21:24 2013 +0000

----------------------------------------------------------------------
 ForgeImporters/forgeimporters/github/wiki.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/1083aa87/ForgeImporters/forgeimporters/github/wiki.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/github/wiki.py b/ForgeImporters/forgeimporters/github/wiki.py
index 45f29e8..653fcb6 100644
--- a/ForgeImporters/forgeimporters/github/wiki.py
+++ b/ForgeImporters/forgeimporters/github/wiki.py
@@ -230,6 +230,7 @@ class GitHubWikiImporter(ToolImporter):
 
         try:
             import html2text
+            html2text.BODY_WIDTH = 0
         except ImportError:
             html2text = None
 


Mime
View raw message