diff --git a/foliant/preprocessors/escapecode.py b/foliant/preprocessors/escapecode.py index 31b5912..f5df415 100644 --- a/foliant/preprocessors/escapecode.py +++ b/foliant/preprocessors/escapecode.py @@ -451,23 +451,6 @@ def render_list(self, element: block.List) -> str: sep = f"{self._prefix}\n" return sep.join(result) - def render_quote(self, element: block.Quote) -> str: - # adds a key 'in_quote' to all lists - element = self._add_quote_prop(element) - - with self.container("> ", "> "): - result = self.render_children(element) - self._prefix = self._second_prefix - return result + "\n" - - def _add_quote_prop(self, element): - for i, child in enumerate(element.children): - if 'tight' in dir(child): - element.children[i].in_quote = True - if 'children' in dir(child): - element.children[i] = self._add_quote_prop(child) - return element - def render_html_block(self, element: block.HTMLBlock) -> str: children = element.children raw_type = 'comments'