mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-16 10:03:08 -07:00
Avoid $ trigger TH
This commit is contained in:
parent
985ca2530d
commit
8754c21244
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ outputError file error = putStrLn $ concat [
|
|||
attr s v = concat [ s, "='", escape v, "' " ]
|
||||
escape = concatMap escape'
|
||||
escape' c = if isOk c then [c] else "&#" ++ show (ord c) ++ ";"
|
||||
isOk x = any ($x) [isAsciiUpper, isAsciiLower, isDigit, (`elem` " ./")]
|
||||
isOk x = any ($ x) [isAsciiUpper, isAsciiLower, isDigit, (`elem` " ./")]
|
||||
|
||||
severity "error" = "error"
|
||||
severity "warning" = "warning"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue