Removed unnecessary checks

This commit is contained in:
2024-04-02 19:20:51 +02:00
parent a06defdc3d
commit 4a4b9e168b
2 changed files with 3 additions and 5 deletions

View File

@ -117,7 +117,6 @@ func (r *renderer) processLine(line string) {
return
case '-', '*':
r.closeParagraphs()
line = strings.TrimSpace(line[1:])
if r.listLevel == 0 {
@ -150,7 +149,6 @@ func (r *renderer) processLine(line string) {
}
case '|':
r.closeParagraphs()
line = line[1:]
if r.tableLevel == 0 {