diff --git a/app/converter/regex_heuristics.py b/app/converter/regex_heuristics.py index 5fa4177..5ba2f4b 100644 --- a/app/converter/regex_heuristics.py +++ b/app/converter/regex_heuristics.py @@ -13,7 +13,7 @@ class RegexHeuristics: self.configurator = configurator self._rules = { - "^()(?P.*?)(<\/pre>)?$": self._remove_pre_tag, + "^()(?P.*?)`{0,3}(<\/pre>)?$": self._remove_pre_tag, } def _remove_pre_tag(self, match) -> str: