From 17a2290ae2ee174cfbe7d5d8944b9e14cbe02895 Mon Sep 17 00:00:00 2001 From: jkmnt Date: Thu, 4 Jul 2024 18:25:13 +0300 Subject: [PATCH] fixed --- 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 a2f81139d..08018a6e9 100644 --- a/python/jsbeautifier/core/templatablepattern.py +++ b/python/jsbeautifier/core/templatablepattern.py @@ -115,7 +115,7 @@ def read(self): next = self._read_template() if self._until_after: - result += self._input.readUntilAfter(self._until_after) + result += self._input.readUntilAfter(self._until_pattern) return result