Closed opoudjis closed 3 months ago
We are getting:
Clause 1 a) Clause 2, List 1 a) Clause 2, List 2 a) Clause 2 List 1 a) 1)
That's because the criterion on when to insert the comma is triggered in prefix_container_template(container, node, target) as:
prefix_container_template(container, node, target)
nested_xref = @i18n.nested_xref # %1, %2" container_label = anchor_xref(node, container) if @xrefs.anchor(target, :type) == "listitem" && !@xrefs.anchor(target, :refer_list) nested_xref = "%1 %2" # n = @xrefs.anchor(container, :label) and container_label = n end
The comma is meant to be triggered if there are two lists in the clause; but that is being lost if the pointer is to a nested list.
We are getting:
Clause 1 a) Clause 2, List 1 a) Clause 2, List 2 a) Clause 2 List 1 a) 1)
That's because the criterion on when to insert the comma is triggered in
prefix_container_template(container, node, target)
as:The comma is meant to be triggered if there are two lists in the clause; but that is being lost if the pointer is to a nested list.