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 2017/04/27 16:20:37 UTC

[whimsy] branch master updated: logo may be followed by comma

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  d7cebbd   logo may be followed by comma
d7cebbd is described below

commit d7cebbdcba88bbeca58c992d505f911a96ea5d88
Author: Sebb <se...@apache.org>
AuthorDate: Thu Apr 27 17:20:36 2017 +0100

    logo may be followed by comma
---
 tools/site-scan.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/site-scan.rb b/tools/site-scan.rb
index b5111e4..b344dab 100755
--- a/tools/site-scan.rb
+++ b/tools/site-scan.rb
@@ -89,7 +89,7 @@ def parse(site, name)
     # scrub is needed as some sites have invalid UTF-8 bytes
     txt = node.text.scrub
     # trademarks may appear twice. TODO use array?
-    if txt =~ / Apache feather logo / and not data[:trademarks]
+    if txt =~ / Apache feather logo\b/ and not data[:trademarks]
       t, p = getText(txt, node)
       data[:trademarks] = t
       data[:tradeparent] = p if p

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