Removed unnecessary checks
This commit is contained in:
parent
a06defdc3d
commit
4a4b9e168b
2 changed files with 3 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue