Description

A macro at the top level (left margin) of a page is always immediately followed by a new paragraph (<p></p>). If I place a regular word before the macro everything is displayed as expected. For more info mail hupp@cs.wisc.edu.

Steps to reproduce

  1. Add two DataTime macros to the page at the left margin, seperated by a comma. The output will place the macro output on different lines, seperated by a new paragraph (<p></p>). This also happens when the macro is the first element of a list, but only if there are not enough spaces between it and the list index.

Example

[[DateTime]], [[DateTime]]

appears on two different lines in the output:

2005-08-25 19:04:26

, 2005-08-25 19:04:26

expected output:

2005-08-25 19:04:26, 2005-08-25 19:04:26

Example in list:

 1.#1 [[DateTime]], [[DateTime]]

appears like this:

  1. 2005-08-26 13:27:24 , 2005-08-26 13:27:24

This one works correctly. Note that there are two spaces between the '1' and the macro here:

 1.#1  [[DateTime]], [[DateTime]]
  1. 2005-08-26 13:26:29, 2005-08-26 13:26:29

Details

MoinMoin Version

moin 1.3.3

OS and Version

Redhat Advanced Server 2.1

Python Version

2.4

Server Setup

Apache CGI

Server Details

Workaround

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/MacroAtTopLevelAlwaysFollowedByParagraph (last edited 2007-10-29 19:16:48 by localhost)