From c8eb73377e47b45fc49910ae45aabb7948c4d32c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vytautas=20=C5=A0altenis?= Date: Fri, 1 Apr 2016 11:22:13 +0300 Subject: [PATCH] Fix typos --- block.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/block.go b/block.go index ee8a78c..320192b 100644 --- a/block.go +++ b/block.go @@ -1195,7 +1195,7 @@ func (p *parser) listItem(data []byte, flags *ListType) int { } } if i == 0 { - // if in defnition list, set term flag and continue + // if in definition list, set term flag and continue if *flags&ListTypeDefinition != 0 { *flags |= ListTypeTerm } else { @@ -1309,12 +1309,11 @@ gatherlines: *flags |= ListItemContainsBlock } - // if this line was preceeded by one or more blanks, + // if this line was preceded by one or more blanks, // re-introduce the blank into the buffer if containsBlankLine { containsBlankLine = false raw.WriteByte('\n') - } // add the line into the working buffer without prefix