all repos — grayfriday @ c8eb73377e47b45fc49910ae45aabb7948c4d32c

blackfriday fork with a few changes

Fix typos
Vytautas Ĺ altenis vytas@rtfb.lt
Fri, 01 Apr 2016 11:22:13 +0300
commit

c8eb73377e47b45fc49910ae45aabb7948c4d32c

parent

60026cc3c65e1585f73b8f5ecab98c145487882f

1 files changed, 2 insertions(+), 3 deletions(-)

jump to
M block.goblock.go

@@ -1195,7 +1195,7 @@ *flags &= ^ListTypeTerm

} } 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 @@ raw.WriteByte('\n')

*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