@@ -675,7 +675,7 module ApplicationHelper | |||
|
675 | 675 | end |
|
676 | 676 | |
|
677 | 677 | TOC_RE = /<p>\{\{([<>]?)toc\}\}<\/p>/i unless const_defined?(:TOC_RE) |
|
678 | HEADING_RE = /<h(1|2|3)( [^>]+)?>(.+?)<\/h(1|2|3)>/i unless const_defined?(:HEADING_RE) | |
|
678 | HEADING_RE = /<h(1|2|3|4)( [^>]+)?>(.+?)<\/h(1|2|3|4)>/i unless const_defined?(:HEADING_RE) | |
|
679 | 679 | |
|
680 | 680 | # Headings and TOC |
|
681 | 681 | # Adds ids and links to headings and renders the TOC if needed unless options[:headings] is set to false |
General Comments 0
You need to be logged in to leave comments.
Login now