diff --git a/jssg/models.py b/jssg/models.py index d280c23..a94f450 100644 --- a/jssg/models.py +++ b/jssg/models.py @@ -68,9 +68,6 @@ def content(self) -> str: # multiline text # easy to read" # }}} - def convert_case(match_obj): - return match_obj.group(2).replace("\n", " ") - self.body = re.sub("({{{TO-1-LINE)(((?!TO-1-LINE}}}).)*)(TO-1-LINE}}})", convert_case, self.body, flags=re.DOTALL) # INFO - D.A. - Original code is below and is returned a markdown-based processed content # this works only with unindented HTML templates because markdown interprets indentation