= Description =
'''Fixed in 1.7'''

If you included one page in another with the Include macro, then all of the included content is wrapped in a <para> element, resulting often in nested  <para>s and invalid docbook.

== Steps to reproduce ==
## Describe the steps needed to reproduce the bug. If we can't reproduce it, we  probably can't fix it.
 1. Use the include macro to include another page that contains some text.
 2. Render As DocBook and note that the included content is in a <para> element even though it may itself include <para>s or other, so you end up with nested <para>s that aren't allowed in DocBook

== Example ==

The following included content should illustrate the problem: 

<<Include(DavidCramer)>>


This page has this in the render as docbook. Note the nested paras:

{{{<para>

	<para>
At 
<ulink url="http://www.motive.com">Motive</ulink>
, we use moinmoin on in our pubs group to collaborate on various internal things and our developers use it to write design docs. I'm also involved with 
<ulink url="http://docbook.org/wiki/moin.cgi/DavidCramer">DocBook</ulink>
.  
</para>

	<para>
<ulink url="mailto:"></ulink>
</para>
</para>}}}

##attachment:screenshot.png

##{{{
##Example wiki markup that fail
##}}}

== Details ==

## If you got a traceback, please save the traceback page as html and attach here:
## attachment:traceback.html

## if the bug is in this wiki, just kill the table and write: This Wiki.

## If a traceback is not available, please fill in the details here:
|| '''!MoinMoin Version''' ||  ||
|| '''OS and Version''' ||  ||
|| '''Python Version''' ||  ||
|| '''Server Setup''' || ||
|| '''Server Details''' || ||


== Workaround ==
## How to deal with the bug until it is fixed


= Discussion =


= Plan =
## This part is for Moin``Moin developers:

 * Priority: 
 * Assigned to: MikkoVirkkilä
 * Status: Fixed in main, will be fixed in 1.7
----
## If you are a moin core developer, replace the category to Category* in these cases:
## Category MoinMoinNoBug - if this is not a bug.
## Category MoinMoinBugConfirmed - if you can confirm the bug on current code.
## Category MoinMoinBugFixed - after the bug is fixed in current code.
CategoryMoinMoinBugFixed