Skip to content

Hanging text nodes between clauses #16

@gesa

Description

@gesa

The ecmarkup generation is inserting lists and text nodes between clauses that I think should be included in the immediately preceding clause. For example:

</emu-clause><em>All items must be unique.</em><emu-clause id="sec--metadata-tools-services">
</emu-clause><em>Must be one of:</em>
<ol>
<li>Multiple licenses</li>
<li>SPDX License Expression</li>
</ol>
<emu-clause id="sec--components-licenses-1">

There must not be elements between clauses. Once a clause has a child of <emu-clause> the only children that can follow are additional <emu-clause>.

Additionally, flow content should be contained in a block like a <p>.

I tried to open a PR to fix this but was unsuccessful in isolating this behaviour without breaking nested clauses. I can fix the flow content problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions