fix(bibxml): Process abstract to match current BibXML - #11387
Conversation
|
Seems like a strange convention? |
|
yes. |
Matching is fine, but I'm not following context. Are you saying that making this change (replacing two spaces with a newline) will make it match? |
Hmm, yes, but no - I don't know where the newline is coming from - I thought this would be converting two spaces after a period to one. : @kesara? This is the bibxml served by bib.ietf.org at the moment: |
|
@rjsparks I'm not 100% about logic behind new lines in the current BibXML output. |
Abstracts as stored separate paragraphs with a blank line and sentences with two spaces. bib.ietf.org emits one <t> per paragraph and collapses the whitespace within a paragraph to single spaces; do the same. Replacing the double spaces with a newline, as 384d384 did, matched neither: measured against the 9112 RFCs whose abstract bib.ietf.org also publishes, 1299 abstracts matched before this change and 8946 after.
707 RFCs have no abstract. An <abstract> holding an empty <t> is not valid BibXML -- it requires at least one non-empty <t> -- and is not what bib.ietf.org publishes for those RFCs, which is no element at all.
No description provided.