diff options
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 72d7ab1..cffcf5d 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb | |||
@@ -22,7 +22,7 @@ module ApplicationHelper | |||
22 | def markdown(text, params = {}) | 22 | def markdown(text, params = {}) |
23 | options = { fenced_code_blocks: true, highlight: true, footnotes: true } | 23 | options = { fenced_code_blocks: true, highlight: true, footnotes: true } |
24 | 24 | ||
25 | html_options = {} | 25 | html_options = { with_toc_data: true } |
26 | if params[:restricted] | 26 | if params[:restricted] |
27 | html_options[:filter_html] = true | 27 | html_options[:filter_html] = true |
28 | end | 28 | end |