You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you use xmlformat to correctly format a variablelist the indentation and line breaks for the <term /> contents is done incorrectly and that content comes immediately after the opening tag. This still displays a correct table but is bad for readability.
Expected behavior
The term tags and contents are correctly indented and broken over.
Steps to reproduce the behavior
Format content including variablelist in wrong notation with xmlformat.
Initial content:
<variablelist>
<varlistentry><term><literal>Image</literal></term><listitem><para>Select the image your machines will be created from</para></listitem></varlistentry>
</variablelist>
After xmlformat:
<varlistentry>
<term><literal>Image</literal> # This should be in the next line
</term>
<listitem>
<para>
Select the image your machines will be created from
</para>
</listitem>
</varlistentry>
</variablelist>
Manually fixed content:
<variablelist>
<varlistentry>
<term>
<literal>Image</literal> #This is now formatted correctly
</term>
<listitem>
<para>
Select the image your machines will be created from
</para>
</listitem>
</varlistentry>
</variablelist>
The text was updated successfully, but these errors were encountered:
ghost
pushed a commit
that referenced
this issue
Jul 25, 2018
Mh... Imo, <term/>s should be formatted like titles, so what is incorrect in your example is only the line break just before the closing </term>. I've opened PR #465.
ghost
pushed a commit
that referenced
this issue
Jul 25, 2018
Problem description
When you use xmlformat to correctly format a
variablelist
the indentation and line breaks for the<term />
contents is done incorrectly and that content comes immediately after the opening tag. This still displays a correct table but is bad for readability.Expected behavior
The term tags and contents are correctly indented and broken over.
Steps to reproduce the behavior
Format content including
variablelist
in wrong notation with xmlformat.Initial content:
After xmlformat:
Manually fixed content:
The text was updated successfully, but these errors were encountered: