Revert "hard code insideInline boolean instead of inverting it"

This reverts commit d363631d5a.
pull/399/head
tjex 1 month ago
parent d363631d5a
commit 4df45d26db

@ -323,7 +323,7 @@ func (d *document) DocumentLinks() ([]documentLink, error) {
// if there are an odd number of back ticks, the state of insideInline
// for the following link will be true
if strings.Count(line, "`")%2 == 1 {
insideInline = true
insideInline = !insideInline
}
}

Loading…
Cancel
Save