Skip to content

Commit

Permalink
🐛 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yann0917 committed Sep 3, 2023
1 parent bcc86cd commit 0539e90
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion utils/svg2html.go
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,10 @@ outer:
for _, svgContent := range svgContents {
for _, content := range svgContent.Contents {
reader := strings.NewReader(content)
element, _ := svgparser.Parse(reader, false)
element, err := svgparser.Parse(reader, false)
if err != nil {
continue
}
a, b := parseFootNoteDelimiter(element)
if a != "" {
fn[a] = struct{}{}
Expand Down

0 comments on commit 0539e90

Please sign in to comment.