whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: remove Zero Width No-Break Space
Date Mon, 24 Apr 2017 13:32:46 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  5671c66   remove Zero Width No-Break Space
5671c66 is described below

commit 5671c6680551a0fe854a19a541b704486bb930d8
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Mon Apr 24 09:32:37 2017 -0400

    remove Zero Width No-Break Space
---
 www/test/apachecon.cgi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/www/test/apachecon.cgi b/www/test/apachecon.cgi
index fca5d4e..7ffef79 100755
--- a/www/test/apachecon.cgi
+++ b/www/test/apachecon.cgi
@@ -19,7 +19,9 @@ _html do
   _body? do
     _whimsy_header PAGETITLE
     ac_dir = ASF::SVN['private/foundation/ApacheCon']
-    csv = CSV.read("#{ac_dir}/apacheconhistory.csv", headers:true)
+    history = File.read("#{ac_dir}/apacheconhistory.csv")
+    history.sub! "\uFEFF", '' # remove Zero Width No-Break Space
+    csv = CSV.parse(history, headers:true)
     _whimsy_content do
       _p 'Past ApacheCons include:'
       _ul do

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message