diff options
author | Frédéric Guillot <fred@kanboard.net> | 2017-11-27 15:10:38 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2017-11-27 15:10:38 -0800 |
commit | 436673247fc28ae05c6b17baf202ca26e1903862 (patch) | |
tree | 7454754d7c6ebfc752d2d81d1fc8f16cbd43274c /app | |
parent | 1db9bc1b2e8e0134f6276771a08b54c4748f8e5e (diff) |
Update image links in documentation
Diffstat (limited to 'app')
-rw-r--r-- | app/Controller/DocumentationController.php | 1 |
1 files changed, 1 insertions, 0 deletions
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); |