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 2021/10/20 11:32:44 UTC
[whimsy] 01/02: Allow for markup in Calcite git example
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
commit a442d908cc8d479552e87af8ebe617492a1d967c
Author: Sebb <se...@apache.org>
AuthorDate: Wed Oct 20 12:26:37 2021 +0100
Allow for markup in Calcite git example
---
tools/download_check.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/download_check.rb b/tools/download_check.rb
index a72e204..0f41fe5 100755
--- a/tools/download_check.rb
+++ b/tools/download_check.rb
@@ -460,7 +460,7 @@ def _checkDownloadPage(path, tlp, version)
# Look for incorrect gpg qualifiers
body.scan(%r{(gpg[[:space:]]+(.+?)(?:import|verify))}) { |m|
pfx = m[1]
- unless pfx == '--'
+ unless pfx.sub(%r{<span[^>]*>}, '') == '--'
W "gpg requires -- before qualifiers, not #{pfx.inspect}: #{m[0].strip}"
end
}