Opened 12 months ago

Last modified 12 months ago

#665 under_review defect

two periods after et. al. when followed by <xref>

Reported by: mahoney@nostrum.com Owned by:
Priority: medium Milestone:
Component: v3 vocabulary Version:
Keywords: Cc: rfc-editor@rfc-editor.org

Description

The text output has two periods after "et al." but only when the text is followed by a <xref> in the XML. From draft-ietf-emu-rfc5448bis-10:

  Basin, et al.  [Basin2018] have performed formal analysis...

  Borgaonkar, et al. discovered...

Workaround is to place "&nbsp;" after "et al.".

Files:
https://www.rfc-editor.org/v3test/draft-ietf-emu-rfc5448bis-10.txt
https://www.rfc-editor.org/v3test/draft-ietf-emu-rfc5448bis-10.xml

Change History (4)

comment:1 Changed 12 months ago by krathnayake@ietf.org

Did you meant to say two spaces after et al.?

Looks like the text renderer adds two spaces before and after sentence in when punctuation mark is present.

comment:2 Changed 12 months ago by krathnayake@ietf.org

  • Status changed from new to under_review

comment:3 Changed 12 months ago by rjsparks@nostrum.com

We have an ongoing conversation about what to do at the end of sentences. (one space, two spaces, or provide a flag and have a default). If that conversation landed on one space with no flag, then this bug would likely evaporate. But assume it won't and add this to the heuristics for not adding two. It might be good to add a test line that exercises many cases where a . appears inside a sentence and shouldn't trigger end-of-sentence treatment.

comment:4 Changed 12 months ago by rjsparks@nostrum.com

See https://notes.ietf.org/#602-Redux---Space-normalization - looks like the decision was to add a switch, defaulting to one space.

Note: See TracTickets for help on using tickets.