[pmwiki-users] Is page#section behavior intentional?
Patrick R. Michaud
pmichaud at pobox.com
Thu Aug 14 00:46:12 CDT 2008
On Tue, Aug 12, 2008 at 05:44:17PM +0200, Peter Bowers wrote:
> I am working with some text sections that I have defined like this:
>
> [[#body]]here is some
> text on multiple lines
> and the last line[[#bodyend]]
>
> Then I access it using page#body. I am finding that"and the last
> line" gets left out of the section.
>
> Is that intentional, designed for some reason I'm not seeing? Or just
> based on an assumption that an anchor will always be at the beginning
> of a line?
Short answer: it's intentional. It's that way to handle the case
where anchors appear after some other start-of-line markup, such
as bullet or numbered lists:
* [[#start]] first item
* second item
* third item
* [[#end]] fourth item
Pm
More information about the pmwiki-users
mailing list