whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Fix officer names as for committee names
Date Mon, 07 Oct 2019 22:39:32 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb 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 ad9e601  Fix officer names as for committee names
ad9e601 is described below

commit ad9e601461b20c4c18d198b9bee7debfeaa70599
Author: Sebb <sebb@apache.org>
AuthorDate: Mon Oct 7 23:39:28 2019 +0100

    Fix officer names as for committee names
---
 www/roster/public_committee_info.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/roster/public_committee_info.rb b/www/roster/public_committee_info.rb
index cf15377..337b60f 100644
--- a/www/roster/public_committee_info.rb
+++ b/www/roster/public_committee_info.rb
@@ -62,7 +62,7 @@ info[:committees] = Hash[committees.map {|committee|
 
 info[:officers] = Hash[
   ASF::Committee.officers.map { |officer|
-    [officer.name, 
+    [officer.name.gsub(/[^-\w]/,''), 
       {
         display_name: officer.display_name,
         paragraph: officer.paragraph, # will always be present


Mime
View raw message