ietf-tools / xml2rfc

Generate RFCs and IETF drafts from document source in XML according to the IETF xml2rfc v2 and v3 vocabularies
https://ietf-tools.github.io/xml2rfc/
BSD 3-Clause "New" or "Revised" License
68 stars 38 forks source link

bare="true" has no effect in HTML and PDF #609

Closed ietf-svn-bot closed 3 years ago

ietf-svn-bot commented 3 years ago

owner:krathnayake@ietf.org resolution_fixed type_defect | by arusso@amsl.com


When using bare="true", there should be no (additional) indentation per 5f1f8b9ced72dea365b98717219bbeadc86cce74, but the indentation is present in the HTML and PDF.

Example: https://www.rfc-editor.org/v3test/test_imap4.html https://www.rfc-editor.org/v3test/test_imap4.pdf https://www.rfc-editor.org/v3test/test_imap4.txt https://www.rfc-editor.org/v3test/test_imap4.xml

In Section 1, see (A) and (B) - they appear the same in the HTML and PDF output. The desired output is that (A) is less indented - as in the TXT.

Relevant snippet:

<ul bare="true" empty="true" spacing="compact">
   <li>user name</li>
   <li>password</li>
</ul>

(This is most visible when using

ietf-svn-bot commented 3 years ago

@julian.reschke@gmx.de commented


Duplicate of https://trac.tools.ietf.org/tools/xml2rfc/trac/ticket/547. I believe "bare" should simply be removed.

ietf-svn-bot commented 3 years ago

@rjsparks@nostrum.com changed status from new to accepted

ietf-svn-bot commented 3 years ago

@rjsparks@nostrum.com commented


This is a bug in the css. The html presentation is doing the wrong thing.

Discussions in the CMT support keeping and documenting bare as something would be useful not just at the toc.

ietf-svn-bot commented 3 years ago

@kesara@staff.ietf.org changed status from accepted to assigned

ietf-svn-bot commented 3 years ago

@kesara@staff.ietf.org set owner to krathnayake@ietf.org

ietf-svn-bot commented 3 years ago

@kesara@staff.ietf.org changed status from assigned to closed

ietf-svn-bot commented 3 years ago

@kesara@staff.ietf.org set resolution to fixed

ietf-svn-bot commented 3 years ago

@kesara@staff.ietf.org commented


Fixed in baae82a3b580adf086601c03511ef3c9e8f31702:

Implement bare attribute rendering in HTML and PDF. Fixes #609. Commit ready for merge.

ietf-svn-bot commented 3 years ago

@rjsparks@nostrum.com commented


Fixed in e78d79625bd0371c7f21e55e93ca55e6aeec43a9:

Merged in baae82a3b580adf086601c03511ef3c9e8f31702 from krathnayake@ietf.org:\n Implement bare attribute rendering in HTML and PDF. Fixes #609.