File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -108,12 +108,12 @@ pattern t :< ts <- (Text.uncons -> Just (t, ts))
108108 where (:<) = Text. cons
109109
110110escapeDoubleQuoteString :: Text -> Text
111- escapeDoubleQuoteString (' "' :< xs) = " \\\" " <> escapeDoubleQuoteString xs
111+ escapeDoubleQuoteString (' "' :< xs) = " \\\" " <> escapeDoubleQuoteString xs
112112escapeDoubleQuoteString (' $' :< ' {' :< xs) = " \\ ${" <> escapeDoubleQuoteString xs
113- escapeDoubleQuoteString (' $' :< xs) = ' $' :< escapeDoubleQuoteString xs
114- escapeDoubleQuoteString (x:< xs) = maybe (one x) ((' \\ ' :< ) . one) (toEscapeCode x)
115- <> escapeDoubleQuoteString xs
116- escapeDoubleQuoteString a = a
113+ escapeDoubleQuoteString (' $' :< xs) = ' $' :< escapeDoubleQuoteString xs
114+ escapeDoubleQuoteString (x:< xs) = maybe (one x) ((' \\ ' :< ) . one) (toEscapeCode x)
115+ <> escapeDoubleQuoteString xs
116+ escapeDoubleQuoteString a = a
117117
118118
119119prettyString :: NString (NixDoc ann ) -> Doc ann
You can’t perform that action at this time.
0 commit comments