Included wiki-pages are put in a paragraph
|Reported by:||anonymous||Owned by:||rjollos|
I recently reported this with WikiIncludePlugin ([ticket#4749]), and after testing IncludeMacro I hit the same problem.
Currently all included wikipages are embedded in paragraphs. Is there any way to prevent this behaviour?
Logically, if I wanted a paragraph I would put empty lines above and below the macro when I use it.
I've created the wikipage "Nav/Foo" with links to documentation of the Foo - project. All pages in the documentation start off with a level 1 header, then a wikiinclude macro including the navigation block.
This way, when I create a new page I only need to put the link in "Nav/Foo", and it is available on all related pages.
[wiki:Docs/Foo Foo] | [wiki:Docs/Foo-subsystem FooBar]
= Foo = [[Include(Docs/Foo)]] Something
= Foo = [[Include(Docs/Foo)]] Something else.
Normally I'd expect this setup to generate:
= Foo = [wiki:Docs/Foo Foo] | [wiki:Docs/FooBar FooBar] ..
However, I get this;
= Foo = <p> [wiki:Docs/Foo Foo] | [wiki:Docs/FooBar FooBar] </p> ..
Change History (4)
comment:3 Changed 13 months ago by rjollos
- Owner changed from coderanger to rjollos
- Status changed from new to assigned