mirror of
https://github.com/russross/blackfriday.git
synced 2024-03-22 13:40:34 +08:00
Use p.inline instead of p.block for intermediate render of inline item
This commit is contained in:
parent
e96880f42b
commit
9171c26084
2
block.go
2
block.go
|
@ -1295,7 +1295,7 @@ gatherlines:
|
||||||
// intermediate render of inline item
|
// intermediate render of inline item
|
||||||
if sublist > 0 {
|
if sublist > 0 {
|
||||||
p.inline(&cooked, rawBytes[:sublist])
|
p.inline(&cooked, rawBytes[:sublist])
|
||||||
p.block(&cooked, rawBytes[sublist:])
|
p.inline(&cooked, rawBytes[sublist:])
|
||||||
} else {
|
} else {
|
||||||
p.inline(&cooked, rawBytes)
|
p.inline(&cooked, rawBytes)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user