File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ func (p *Parser) addBlock(typ NodeType, content []byte) *Node {
204204 return container
205205}
206206
207- func (p * parser ) isPrefixHeading (data []byte ) bool {
207+ func (p * Parser ) isPrefixHeading (data []byte ) bool {
208208 if data [0 ] != '#' {
209209 return false
210210 }
@@ -221,7 +221,7 @@ func (p *parser) isPrefixHeading(data []byte) bool {
221221 return true
222222}
223223
224- func (p * parser ) prefixHeading (data []byte ) int {
224+ func (p * Parser ) prefixHeading (data []byte ) int {
225225 level := 0
226226 for level < 6 && level < len (data ) && data [level ] == '#' {
227227 level ++
@@ -267,7 +267,7 @@ func (p *parser) prefixHeading(data []byte) int {
267267 return skip
268268}
269269
270- func (p * parser ) isUnderlinedHeading (data []byte ) int {
270+ func (p * Parser ) isUnderlinedHeading (data []byte ) int {
271271 // test of level 1 heading
272272 if data [0 ] == '=' {
273273 i := skipChar (data , 1 , '=' )
You can’t perform that action at this time.
0 commit comments