Skip to content

Commit

Permalink
Updating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tdegeus committed Jul 14, 2023
1 parent 503771c commit e507c08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions texplain/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1526,6 +1526,7 @@ def indent(
text = re.sub(r"(?<!\\)(\\\\)(\ *\n?)", r"\1\n", text)

# \item starts on a new line
# (any white line before \item is preserved)
if itemize:
text = re.sub(r"(\n?\ *)(?<!\\)(\\item)", r"\n\2", text)

Expand Down

0 comments on commit e507c08

Please sign in to comment.