Modify

Opened 6 years ago

Last modified 14 months ago

#4749 new enhancement

Included pages are embedded in a paragraph

Reported by: anonymous Owned by: yu-ji
Priority: normal Component: WikiIncludePlugin
Severity: normal Keywords:
Cc: martin.wagner@… Trac Release: 0.10

Description

Currently all included pages 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.

An example:

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.

wikipage Nav/Foo:

[wiki:Docs/Foo Foo] | [wiki:Docs/FooBar FooBar]

wikipage Docs/Foo:

= Foo =
[[WikiInclude(Nav/Foo)]]

Something

wikipage Docs/FooBar:

= Foo =
[[WikiInclude(Nav/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>
..

Attachments (0)

Change History (1)

comment:1 Changed 14 months ago by martin.wagner@…

  • Cc martin.wagner@… added

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.