Skip to content

Commit bf9d124

Browse files
Lilith HafnerLilith Hafner
authored andcommitted
try to fix it? (don't unescape \r)
1 parent 26f9f29 commit bf9d124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stylemacro.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ macro styled_str(raw_content::String)
116116
println(repr(raw_content))
117117
println("hash")
118118
println(hash(raw_content))
119-
state = let content = unescape_string(raw_content, ('{', '}', ':', '$', '\n'))
119+
state = let content = unescape_string(raw_content, ('{', '}', ':', '$', '\n', '\r'))
120120
(; content, bytes = Vector{UInt8}(content),
121121
s = Iterators.Stateful(zip(eachindex(content), content)),
122122
parts = Any[],

0 commit comments

Comments
 (0)