This is an automated email from the ASF dual-hosted git repository.

curcuru 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 36ccbd8  Allow thanks link to have exclamation point
36ccbd8 is described below

commit 36ccbd86666c25b55ce5fa9a83a2db74278f607a
Author: Shane Curcuru <a...@shanecurcuru.org>
AuthorDate: Tue Apr 10 15:55:19 2018 -0400

    Allow thanks link to have exclamation point
---
 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 f2d1da6..3d03840 100755
--- a/tools/site-scan.rb
+++ b/tools/site-scan.rb
@@ -91,7 +91,7 @@ def parse(id, site, name)
       end
     end
 
-    if a_text == 'thanks'
+    if a_text =~ /\Athanks[!]?\z/ # Allow Thanks! with exclamation
       begin
         data[:thanks] = uri + a_href 
       rescue

-- 
To stop receiving notification emails like this one, please contact
curc...@apache.org.

Reply via email to