From 7470b1180e884104b690b39dce90143c72c096a3 Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Sun, 27 Nov 2016 13:43:07 -0700 Subject: Add ability to include page assets in documentation pages such as images. Updated Personal Channel tutorial to use local images using this new capability. --- include/help.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/help.php') diff --git a/include/help.php b/include/help.php index f7fffc4d4..82fd7c566 100644 --- a/include/help.php +++ b/include/help.php @@ -15,7 +15,7 @@ function get_help_content($tocpath = false) { $text = ''; $path = (($tocpath !== false) ? $tocpath : ''); - + if($tocpath === false && argc() > 1) { $path = ''; for($x = 1; $x < argc(); $x ++) { -- cgit v1.2.3 From 369dc295b12bc3fc4cc2ab50727bea277a44d91c Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Sun, 27 Nov 2016 14:48:06 -0700 Subject: Add some identity-aware parsing to HTML content using parseIdentityAwareHTML() --- include/help.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/help.php') diff --git a/include/help.php b/include/help.php index 82fd7c566..6efeeb57e 100644 --- a/include/help.php +++ b/include/help.php @@ -68,7 +68,7 @@ function get_help_content($tocpath = false) { } if($doctype === 'html') - $content = $text; + $content = parseIdentityAwareHTML($text); if($doctype === 'markdown') { require_once('library/markdown.php'); # escape #include tags -- cgit v1.2.3