Skip to content

Commit

Permalink
Fix list tag in TeX
Browse files Browse the repository at this point in the history
  • Loading branch information
enzet committed Aug 9, 2023
1 parent f61b1db commit a093b58
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions moire/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,9 +579,8 @@ def table(self, arg: Arguments) -> str:

def list__(self, arg: Arguments) -> str:
s = "\\begin{itemize}\n"
for item in arg[0]:
if isinstance(item, list):
s += f"\\item {self.parse(item)}\n\n"
for item in arg:
s += f"\\item {self.parse(item)}\n\n"
s += "\\end{itemize}\n"
return s

Expand Down

0 comments on commit a093b58

Please sign in to comment.