Skip to content

FIXME: autolink email in footnote. #595

@kivikakk

Description

@kivikakk

Picked up in #594; see src/tests/fuzz.rs:

comrak/src/tests/fuzz.rs

Lines 359 to 374 in 36b06b8

#[test]
// FIXME
#[should_panic = "assertion failed: (sp.end.column - sp.start.column + 1 == x) || rem == 0"]
fn relaxed_autolink_email_in_footnote() {
assert_ast_match!(
[
extension.autolink,
extension.footnotes,
parse.relaxed_autolinks
],
"[^[email protected]\nA]:\n",
(document (1:1-1:1234) [
// TODO: what should this be parsed as?
]),
);
}

  1. The assertion is raised from Spx::consume and is a straight-up bug.
  2. What's the intended parse?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions