Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update regex for volume.
  • Loading branch information
Ale Patron committed Nov 1, 2021
commit 6d46cb1b651b4d42598b668de1945222f42962ef
2 changes: 1 addition & 1 deletion extensions/amp-video/validator-amp-video.protoascii
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ tags: { # <amp-video> in amp-story
}
attrs: {
name: "volume"
value_regex: "^(?:0*(?:\.\d+)?|1(\.0*)?)$"
value_regex: "^((0?\.[1-9]+)?|1(\.0*)?)$"
Comment thread
apatronl marked this conversation as resolved.
}
attr_lists: "extended-amp-global"
attr_lists: "amp-video-common"
Expand Down