From 436673247fc28ae05c6b17baf202ca26e1903862 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Mon, 27 Nov 2017 15:10:38 -0800 Subject: Update image links in documentation --- app/Controller/DocumentationController.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app') diff --git a/app/Controller/DocumentationController.php b/app/Controller/DocumentationController.php index 2cd49f9e..d41be13c 100644 --- a/app/Controller/DocumentationController.php +++ b/app/Controller/DocumentationController.php @@ -44,6 +44,7 @@ class DocumentationController extends BaseController $data = file_get_contents($filename); $content = preg_replace_callback('/\((.*.markdown)\)/', array($this, 'replaceMarkdownUrl'), $data); $content = preg_replace_callback('/\((screenshots.*\.png)\)/', array($this, 'replaceImageUrl'), $content); + $content = preg_replace_callback('/\((\.\.\/screenshots.*\.png)\)/', array($this, 'replaceImageUrl'), $content); list($title, ) = explode("\n", $data, 2); -- cgit v1.2.3