This commit is contained in:
Kovid Goyal
2025-08-11 11:31:19 +05:30
parent 261ac9d8e8
commit b71edfc1a6

View File

@@ -213,9 +213,13 @@ class IssueData:
else: else:
yield ch yield ch
case 'escape': case 'escape':
if ch == 'S': match ch:
case 'S':
state = 'sub_start' state = 'sub_start'
else: case '\\':
yield '\\'
state = 'normal'
case _:
yield self.translate_issue_char(ch) yield self.translate_issue_char(ch)
state = 'normal' state = 'normal'
case 'sub_start': case 'sub_start':