Skip to content

Missing space before "et al" in citations #780

@kim-em

Description

@kim-em

When a reference has more than 2 authors, the inline citation renders the first author's last name immediately followed by "et al" with no space.

Actual: (Smithet al, 2025)
Expected: (Smith et al., 2025)

bug1-etal

HTML output:

(Smith<em>et al</em>, 2025)

Also missing the trailing period — the standard abbreviation is "et al." not "et al".

The source is Bibliography.lean line 274:

(· ++ {{<em>"et al"</em>}}) <$> go (Bibliography.lastName p.authors[0])

Same issue in the TeX backend at line 311.

MWE: https://github.com/kim-em/verso-citation-mwe

🤖 Found, diagnosed, and filed by Claude Code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions