Skip to content

Commit

Permalink
Validator rollup (#30202)
Browse files Browse the repository at this point in the history
* cl/330812880 Escape value_regex in c style

* Quick fix.

Co-authored-by: Boxiao Cao <caoboxiao@google.com>
  • Loading branch information
Greg Grothaus and caoboxiao committed Sep 14, 2020
1 parent 80f913d commit 493cd7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Expand Up @@ -146,22 +146,22 @@ tags: { # <amp-story-interactive-results>
}
attrs: {
name: "option-1-results-threshold"
value_regex: "\d+[.\d+]?"
value_regex: "\\d+[.\\d+]?"
}
attrs: {
name: "option-2-results-threshold"
value_regex: "\d+[.\d+]?"
value_regex: "\\d+[.\\d+]?"
}
attrs: {
name: "option-3-results-threshold"
value_regex: "\d+[.\d+]?"
value_regex: "\\d+[.\\d+]?"
trigger: {
also_requires_attr: "option-3-results-category"
}
}
attrs: {
name: "option-4-results-threshold"
value_regex: "\d+[.\d+]?"
value_regex: "\\d+[.\\d+]?"
trigger: {
also_requires_attr: "option-4-results-category"
}
Expand Down
2 changes: 1 addition & 1 deletion validator/validator-main.protoascii
Expand Up @@ -26,7 +26,7 @@ min_validator_revision_required: 475
# newer versions of the spec file. This is currently a Google internal
# mechanism, validator.js does not use this facility. However, any
# change to this file (validator-main.js) requires updating this revision id.
spec_file_revision: 1100
spec_file_revision: 1102

styles_spec_url: "https://amp.dev/documentation/guides-and-tutorials/develop/style_and_layout/style_pages/"
script_spec_url: "https://amp.dev/documentation/guides-and-tutorials/learn/validation-workflow/validation_errors/#custom-javascript-is-not-allowed"
Expand Down

0 comments on commit 493cd7e

Please sign in to comment.