Unified · Split
| @@ -34,7 +34,7 @@ module Docs · 33 unmodified lines | |||
| 34 | self.text_filters = FilterStack.new | 34 | self.text_filters = FilterStack.new |
| 35 | 35 | ||
| 36 | html_filters.push 'container', 'clean_html', 'normalize_urls', 'internal_urls', 'normalize_paths' | 36 | html_filters.push 'container', 'clean_html', 'normalize_urls', 'internal_urls', 'normalize_paths' |
| 37 | text_filters.push 'home_url', 'inner_html', 'clean_text', 'attribution' | 37 | text_filters.push 'inner_html', 'clean_text', 'home_url', 'attribution' |
| 38 | 38 | ||
| 39 | def build_page(path) | 39 | def build_page(path) |
| 40 | response = request_one url_for(path) | 40 | response = request_one url_for(path) |
| @@ -66,7 +66,7 @@ module Docs · 25 unmodified lines | |||
| 66 | end | 66 | end |
| 67 | 67 | ||
| 68 | def home_url | 68 | def home_url |
| 69 | @home_url ||= URL.parse self.class.home_url if self.class.home_url | 69 | @home_url ||= self.class.home_url |
| 70 | end | 70 | end |
| 71 | 71 | ||
| 72 | def root_path | 72 | def root_path |