You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by dh...@apache.org on 2017/05/26 17:30:59 UTC

[1/2] beam-site git commit: Do not use BeautifulSoup prettify, which is known to corrupt HTML

Repository: beam-site
Updated Branches:
  refs/heads/asf-site af94ee216 -> 8d92f7155


Do not use BeautifulSoup prettify, which is known to corrupt HTML


Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/5629dffb
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/5629dffb
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/5629dffb

Branch: refs/heads/asf-site
Commit: 5629dffb97c5072288722c6da70f29512ba1dca5
Parents: af94ee2
Author: Kenneth Knowles <kl...@google.com>
Authored: Fri May 26 09:45:45 2017 -0700
Committer: Dan Halperin <dh...@google.com>
Committed: Fri May 26 10:29:55 2017 -0700

----------------------------------------------------------------------
 .jenkins/append_index_html_to_internal_links.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam-site/blob/5629dffb/.jenkins/append_index_html_to_internal_links.py
----------------------------------------------------------------------
diff --git a/.jenkins/append_index_html_to_internal_links.py b/.jenkins/append_index_html_to_internal_links.py
index df55d59..d9d272f 100644
--- a/.jenkins/append_index_html_to_internal_links.py
+++ b/.jenkins/append_index_html_to_internal_links.py
@@ -66,7 +66,7 @@ for match in matches:
           a['href'] = hr + '/index.html'
         mf.close()
 
-        html = soup.prettify("utf-8")
+        html = unicode(soup).encode('utf-8')
         # Write back to the file.
         with open(match, "wb") as f:
           print 'Replacing ' + hr + ' with: ' + a['href']


[2/2] beam-site git commit: Closes #254

Posted by dh...@apache.org.
Closes #254


Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/8d92f715
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/8d92f715
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/8d92f715

Branch: refs/heads/asf-site
Commit: 8d92f715565defc350744b3e65e788267116b808
Parents: af94ee2 5629dff
Author: Dan Halperin <dh...@google.com>
Authored: Fri May 26 10:29:56 2017 -0700
Committer: Dan Halperin <dh...@google.com>
Committed: Fri May 26 10:29:56 2017 -0700

----------------------------------------------------------------------
 .jenkins/append_index_html_to_internal_links.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------