Wednesday, February 13, 2008, 1:12:49 PM, Petko Yotov wrote: > No, this is not a bug, you are using it incorrectly.
> You need to use: > Page##section > or: > Page#..#section > and not > Page..#section Thanks, I am happy to be corrected! Then the documentation is wrong (the commenting of the function in pmwiki.php): ## TextSection extracts a section of text delimited by page anchors. ## The $sections parameter can have the form ## #abc - [[#abc]] to next anchor ## #abc#def - [[#abc]] up to [[#def]] ## #abc#, #abc.. - [[#abc]] to end of text ## ##abc, ..#abc - beginning of text to [[#abc]] ## Returns the text unchanged if no sections are requested, ## or false if a requested beginning anchor isn't in the text. and ..#abc mirrors #abc.., so intuitively one could expect syntax PageName..#abc to work (and it does with the changes I noted). ~Hans _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
