mirror of
https://github.com/russross/blackfriday.git
synced 2024-03-22 13:40:34 +08:00
Fix typos
This commit is contained in:
parent
60026cc3c6
commit
c8eb73377e
5
block.go
5
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user