Skip to content

Commit

Permalink
chore: fix typo in style.go (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltociear authored Oct 2, 2023
1 parent cdb04a6 commit cdff1f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion safehtml/style.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const InnocuousPropertyValue = "zTemplUnsafeCSSPropertyValue"

// safeRegularPropertyValuePattern matches strings that are safe to use as property values.
// Specifically, it matches string where every '*' or '/' is followed by end-of-text or a safe rune
// (i.e. alphanumberics or runes in the set [+-.!#%_ \t]). This regex ensures that the following
// (i.e. alphanumerics or runes in the set [+-.!#%_ \t]). This regex ensures that the following
// are disallowed:
// - "/*" and "*/", which are CSS comment markers.
// - "//", even though this is not a comment marker in the CSS specification. Disallowing
Expand Down

0 comments on commit cdff1f3

Please sign in to comment.