Removed unnecessary checks
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user