From 23126f937c317fe584105e84ad1521bdf9731c12 Mon Sep 17 00:00:00 2001 From: jkmnt Date: Mon, 9 Sep 2024 19:43:33 +0300 Subject: [PATCH] fixed (#2291) --- python/jsbeautifier/core/templatablepattern.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/jsbeautifier/core/templatablepattern.py b/python/jsbeautifier/core/templatablepattern.py index a2f81139..08018a6e 100644 --- a/python/jsbeautifier/core/templatablepattern.py +++ b/python/jsbeautifier/core/templatablepattern.py @@ -115,7 +115,7 @@ class TemplatablePattern(Pattern): next = self._read_template() if self._until_after: - result += self._input.readUntilAfter(self._until_after) + result += self._input.readUntilAfter(self._until_pattern) return result