Currently, when calculating paragraph.indent, after writing a paragraph with code like self._write_paragraph("\u00a0" * self.tag_indents["blockquote"]) or self._write_paragraph(f"{indent_string}{bullet} "), I calculate the width of the last fragment of the paragraph, indent_width = sel...
While for a number of programming languages these formatting styles are not connected to the semantics of a program, such statement does not hold for languages such as, for example, Python (where indentation describes to which code block a statement belongs). I.e., there are languages where ...