Skip to content

Commit 6b8b362

Browse files
committed
fix: escape . in class name
1 parent 8b1af11 commit 6b8b362

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmd/class.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,5 +249,6 @@ func (c *Command) makeClassName(str string) string {
249249
str = strings.ReplaceAll(str, "%", "\\%")
250250
str = strings.ReplaceAll(str, ":", "\\:")
251251
str = strings.ReplaceAll(str, "~", "\\~")
252+
str = strings.ReplaceAll(str, ".", "\\.")
252253
return str
253254
}

0 commit comments

Comments
 (0)