You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/10/07 22:39:32 UTC

[whimsy] branch master updated: Fix officer names as for committee names

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 <se...@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