all repos — grayfriday @ 41159b38743bae579538f5af3ecfb4df1002e0de

blackfriday fork with a few changes

Fix bad merge
Vytautas Ĺ altenis vytas@rtfb.lt
Tue, 14 Feb 2017 21:58:46 +0200
commit

41159b38743bae579538f5af3ecfb4df1002e0de

parent

a8c45a7349d947b0dc4bb38fe8f379751e1c1ae2

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

jump to
M block.goblock.go

@@ -204,7 +204,7 @@ container.content = content

return container } -func (p *parser) isPrefixHeading(data []byte) bool { +func (p *Parser) isPrefixHeading(data []byte) bool { if data[0] != '#' { return false }

@@ -221,7 +221,7 @@ }

return true } -func (p *parser) prefixHeading(data []byte) int { +func (p *Parser) prefixHeading(data []byte) int { level := 0 for level < 6 && level < len(data) && data[level] == '#' { level++

@@ -267,7 +267,7 @@ }

return skip } -func (p *parser) isUnderlinedHeading(data []byte) int { +func (p *Parser) isUnderlinedHeading(data []byte) int { // test of level 1 heading if data[0] == '=' { i := skipChar(data, 1, '=')