X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=mdref%2FAction.php;h=0c48dd6b403c448d5d6f9538b141e448aadc01d1;hb=a94ecb1009610a763dd74a7eebc4754b6643d832;hp=3addfa0527fe4880259d57e3f4ab964ff9c04ae2;hpb=dd10f02e485e07de9ff37ec096d156f51c2f62fc;p=mdref%2Fmdref diff --git a/mdref/Action.php b/mdref/Action.php index 3addfa0..0c48dd6 100644 --- a/mdref/Action.php +++ b/mdref/Action.php @@ -77,6 +77,10 @@ class Action { $pld->ref = $this->baseUrl->pathinfo( $this->baseUrl->mod($this->request->getRequestUrl())); + $pld->markup = function($page) use($pld) { + return $this->reference->getFormatter()->markup($page, $pld); + }; + $pld->refs = $this->reference; $pld->baseUrl = $this->baseUrl;