empty paragraphs after headings

2008-02-11
2013-04-15
  • friendlytiger
    friendlytiger
    2008-02-11

    Really minor issue, but why are empty paragraphs inserted after headings in the xml files?

     
    • Goutam Poudel
      Goutam Poudel
      2008-02-19

      Suppose in a scenario where a document contains an empty Heading (Heading without any inline or block level child elements) then in that scenario, if we don't provide an empty paragraph element, we will get the validation error as "<level1> has incomplete element.... ".

      To solve this issue we are populating the empty paragraph.

       
      • friendlytiger
        friendlytiger
        2008-02-19

        Thanks for the reply. Why not introduce the empty paragraph only after an "empty" heading?

         
        • senthil
          senthil
          2008-03-11

          yes, that is a good input. We will see how to handle this.