Skip to content

Empty elements fixer behaviour #46

Description

@NickSdot

<para> and hence its parent <listitem> are empty in the below example. Leaving this here as something that stood out to me. Not sure if we need a RemoveEmptyElementsFixer or something.

Current result:

  <varlistentry xml:id="constant.f-dupfd">
   <term>
    <constant>F_DUPFD</constant>
    (<type>int</type>)
   </term>
   <listitem>
-    <para></para>
+    <simpara></simpara>
   </listitem>
  </varlistentry>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions