Skip to content

Phrase level shortdec is not implemented #4

@ToshihikoMakita

Description

@ToshihikoMakita

The following DITA topic is formatted as shortdesc as block element.

<!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept id="cSpaceTest">
  <title>Space test</title>
  <abstract>        Abstract <i>  text  </i>   <shortdesc>     Also contains shortdesc </shortdesc>     and     <shortdesc>multiple shortdesc can be exist in abstract</shortdesc>      text         contains trailing space!                   </abstract>
  <conbody>
    <p>  
      <i>    Italic       Text   <b>    Bold       text in &lt;i&gt; element</b> </i>   and        final      trailing    spaces                 
    </p>
    <section id="section_dnf_gdm_21b">
      <title> Section title </title> Effective text without &lt;p&gt; element (1). <p> Paragraph
        text </p> Effective text without &lt;p&gt; element (2). <p> Paragraph with fn <fn> Footnote
            <i> text </i>
        </fn> should not divided into multiple &lt;p&gt;. </p>
      <sectiondiv> Sectiondiv with fn <fn> Footnote <i> text </i>
        </fn> should not divided into multiple &lt;p&gt;. </sectiondiv>
      <p>  Paragraph with xref: <xref href="#cSpaceTest/section_dnf_gdm_21b" format="dita" type="section">  <i>XREF</i>   <b>TEXT</b>   </xref>    end Xref.   </p>
    </section>
  </conbody>
</concept>```

The result:

[mSpaceTest.docx](https://github.com/AntennaHouse/ah-wml/files/1971194/mSpaceTest.docx)

In this case shortdesc in abstract should be formatted as inline.

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