Skip to content

Commit

Permalink
replace TODO with reference to code
Browse files Browse the repository at this point in the history
Reference #84 in the code

In service of #11
  • Loading branch information
yshavit committed Jul 17, 2024
1 parent 7ea559f commit ee7663d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/select/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ impl MdqRefSelector {
children.iter().map(|child| MdElemRef::Inline(child)).collect()
}
Inline::Footnote(footnote) => vec![MdElemRef::Doc(&footnote.text)],
Inline::Link(link) => vec![MdElemRef::Link(link)], // TODO find a test case that hits this to make sure it doesn't infinite-loop!
Inline::Link(link) => vec![MdElemRef::Link(link)], // issue #84: find a test case that hits this to make sure it doesn't infinite-loop!
Inline::Image(image) => vec![MdElemRef::Image(image)],
Inline::Text(Text { .. }) => Vec::new(),
},
Expand Down

0 comments on commit ee7663d

Please sign in to comment.