From 0278ddd6c1ba3fdfdc987aea8580b7fee452c226 Mon Sep 17 00:00:00 2001 From: Jon Dowland Date: Wed, 11 Jan 2012 15:13:46 +0000 Subject: [PATCH] backlink(.) doesn't work --- doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn | 6 ++++++ .../backlink__40__.__41___doesn__39__t_work/test1.mdwn | 10 ++++++++++ .../backlink__40__.__41___doesn__39__t_work/test2.mdwn | 1 + 3 files changed, 17 insertions(+) create mode 100644 doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn create mode 100644 doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn create mode 100644 doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn new file mode 100644 index 000000000..6ec53d504 --- /dev/null +++ b/doc/bugs/backlink__40__.__41___doesn__39__t_work.mdwn @@ -0,0 +1,6 @@ +It seems `backlink(.)` doesn't work, that is, it doesn't match pages linked +to from the current page. + +[[!inline pages=test1 raw=true]] + +— [[Jon]] diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn new file mode 100644 index 000000000..7fe3d70fe --- /dev/null +++ b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test1.mdwn @@ -0,0 +1,10 @@ +test1 links to [[test2]]. + +`backlink(test1)`: + +[[!map pages="backlink(test1)"]] + +`backlink(.)`: + +[[!map pages="backlink(.)"]] + diff --git a/doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn new file mode 100644 index 000000000..a8b76dea9 --- /dev/null +++ b/doc/bugs/backlink__40__.__41___doesn__39__t_work/test2.mdwn @@ -0,0 +1 @@ +test2! -- 2.26.2