From c4a03f309a578a5ad7a1e98e145ab32ec69349dc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 15 Nov 2024 07:28:18 +0530 Subject: [PATCH] Another invalid backslash escape and also remove use of EscapedCharNode that doesnt exist --- src/calibre/utils/ffml_processor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/utils/ffml_processor.py b/src/calibre/utils/ffml_processor.py index 136e86f221..402a4f867c 100644 --- a/src/calibre/utils/ffml_processor.py +++ b/src/calibre/utils/ffml_processor.py @@ -144,7 +144,7 @@ class UrlNode(Node): class FFMLProcessor: - """ + r""" This class is parser for the Formatter Function Markup Language (FFML). It provides output methods for RST and HTML. @@ -509,7 +509,7 @@ class FFMLProcessor: return node def get_escaped_char(self): - node = EscapedCharNode(self.text_to(1)) + node = self.text_to(1) self.move_pos(1) return node