3 When a page containing tags and using the [[syntax_(3rd_party)_plugin|plugins/contrib/syntax]] (though pages using other preprocessors may also be affected) is rendered as an inline page, some extra `<p>` elements are added.
10 <p><span class="selflink">XML</span></p>
16 <p><span class="tags">
19 <span class="selflink">XML</span>
22 A fix is to change inlinepage.tmpl to remove new lines around tag links, as follows:
24 --- templates/inlinepage.tmpl (revision 4626)
25 +++ templates/inlinepage.tmpl (working copy)
30 -<TMPL_LOOP NAME="TAGS">
33 +<TMPL_LOOP NAME="TAGS"> <TMPL_VAR NAME=LINK></TMPL_LOOP>
37 > I'm sure this is only working around a symptom, the problem must be that
38 > markdown gets confused by the html generated by the syntax plugin.
39 > Have you tried markdown 1.0.2? This version has a more robust html
42 > I don't have the prerequisites for the syntax plugin installed here
43 > to debug it myself. --[[Joey]]
45 > I don't think that this is specific to the [[syntax_(3rd_party)_plugin|plugins/contrib/syntax]].
46 > It's happening on my pages that just use ordinary templates.
47 > I've documented my versions below. --[[daveloyall]]
50 > libtext-markdown-discount-perl: 0.11-1
51 > libtext-multimarkdown-perl: 1.000034-1
52 > libhtml-template-perl: 2.95-1
54 >> Can you show us the source code and output for a page that has this
57 >> If you enable [[plugins/htmlbalance]], does the problem go away?
58 >> (If it does, then I think I might know what the bug is.)