Modify

Opened 8 years ago

Closed 5 months ago

#4749 closed enhancement (wontfix)

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 (2)

comment:1 Changed 4 years ago by martin.wagner@…

Cc: martin.wagner@… added; anonymous removed

comment:2 Changed 5 months ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Plugin is being removed. Please use IncludeMacro instead.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain yu-ji.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.