Skip to content

Commit

Permalink
fix: 修复转义字符\n
Browse files Browse the repository at this point in the history
  • Loading branch information
Ackites committed Aug 13, 2024
1 parent 5fe279a commit dc846e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/unpack/uxss.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func handleEl(el interface{}, k string) string {
return ""
}
if target != "" {
return fmt.Sprintf(`@import "%s";\n`, target)
return fmt.Sprintf(`@import "%s";`+"\n", target)
}

return ""
Expand Down

0 comments on commit dc846e7

Please sign in to comment.