On Tue, Feb 01, 2011 at 11:25:42AM -0000, Jaap Karssenberg wrote:
> No, we do need to use resolve_file, if only because otherwise you will
> wrongly interpret links to the document dir or to absolute paths,
> share drives etc. Not every link is relative.
good point.
> Probably I forgot to give the page as argument to the resolve_file
> method.
>
> Would be useful to have a test case to prevent mistakes.
On Tue, Feb 01, 2011 at 11:25:42AM -0000, Jaap Karssenberg wrote:
> No, we do need to use resolve_file, if only because otherwise you will
> wrongly interpret links to the document dir or to absolute paths,
> share drives etc. Not every link is relative.
good point.
> Probably I forgot to give the page as argument to the resolve_file
> method.
>
> Would be useful to have a test case to prevent mistakes.
I can care about that.
best regards,
stefan