Skip to content

Commit 68e5592

Browse files
committed
fix(isc): revert escape_braces u-escape change (not effective)
1 parent d2b1ac6 commit 68e5592

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/interscript/isc/codemod.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ def emit_note_with_continuation(note_indent)
437437
text = text[1..] if text.start_with?("'") && !text.end_with?("'")
438438
# Unescape YAML escape sequences, then re-escape for ISC
439439
text = text.gsub('\\"', '"').gsub("\\\\", "\\")
440-
@out << text.gsub('\\', '\\\\\\\\').gsub('"', '\\"')
440+
@out << text.gsub('\\', '\\\\\\\\').gsub('"', '\\"').gsub("\\u", "\\\\u")
441441
# Consume continuation lines: any subsequent line indented deeper
442442
# than the `- ` marker is part of the same note. Blank lines between
443443
# continuations are preserved as \n.

0 commit comments

Comments
 (0)