Strip list item from backref lines
This commit is contained in:
parent
3d555226cf
commit
3f41a219f7
|
@ -88,7 +88,11 @@ func loadBackrefs(fp *FilePages, p string) (map[string][]Backref, error) {
|
||||||
result[ref.Name] = nil
|
result[ref.Name] = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
links := renderLinks(strings.TrimLeft(ref.Link.Line, " *"))
|
line := strings.TrimLeft(ref.Link.Line, " ")
|
||||||
|
if line[0] == '*' && line[1] == ' ' {
|
||||||
|
line = line[2:]
|
||||||
|
}
|
||||||
|
links := renderLinks(line)
|
||||||
pageText := renderMarkdown2(links)
|
pageText := renderMarkdown2(links)
|
||||||
|
|
||||||
removeBrackets := func(r rune) rune {
|
removeBrackets := func(r rune) rune {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user