Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phrase level shortdec is not implemented #4

Open
ToshihikoMakita opened this issue May 3, 2018 · 0 comments
Open

Phrase level shortdec is not implemented #4

ToshihikoMakita opened this issue May 3, 2018 · 0 comments

Comments

@ToshihikoMakita
Copy link
Contributor

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant