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: Also look for (C) symbol
Date Thu, 27 Apr 2017 14:58:16 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  97fc59f   Also look for (C) symbol
97fc59f is described below

commit 97fc59ff2c1893dc49f03125526c91c45b08e1ce
Author: Sebb <sebb@apache.org>
AuthorDate: Thu Apr 27 15:58:15 2017 +0100

    Also look for (C) symbol
---
 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 7d6feb0..81d0285 100755
--- a/tools/site-scan.rb
+++ b/tools/site-scan.rb
@@ -93,7 +93,7 @@ def parse(site, name)
       data[:trademarks] = t
       data[:tradeparent] = p if p
     end
-    if txt =~ /Copyright /
+    if txt =~ /Copyright / or txt =~ /©/
       t, p = getText(txt, node)
       data[:copyright] = t
       data[:copyparent] = p if p

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

Mime
View raw message