00560: include pagename#from# does not work correctly

Summary: include pagename#from# does not work correctly
Created: 2005-10-18 09:01
Status: Closed - fixed for 2.1.beta1
Category: Bug
From: Klonk
Assigned:
Priority: 5
Version: 2.0.10
OS:

Description: (:include pagename#from#:) only includes the file from the anchor to the next anchor instead of the whole rest of the file.


In looking at the pmwiki.php code itself, both (:include pagename#from:) and (:include pagename#from#:) currently mean to include just the section starting with #from. This doesn't match my recollection of how it is supposed to work, but the current implementation has been in place for a very long time -- since at least 2.0.beta1 -- so I'm a little reluctant to change the current implementation until we enter the 2.1.beta series.

However, another way to include from an anchor to the end of a file is to use (:include pagename#from..:) .

--Pm