branch: elpa/textile-mode commit 5ca70413c65f15352b385e3ae86af824d9ce64e7 Author: Matus Goljer <dota.k...@gmail.com> Commit: Matus Goljer <dota.k...@gmail.com>
Better <pre> regexp (handles newline after the block for better font-lock) --- textile-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/textile-mode.el b/textile-mode.el index 7bcc046248..f2862f99ba 100644 --- a/textile-mode.el +++ b/textile-mode.el @@ -220,7 +220,7 @@ non-matching parentheses" `(,(textile-link-matcher) 0 'textile-link-face t t) ;; <pre> blocks - '("<pre>\\(.\\|\n\\)*?</pre>" 0 'textile-pre-face t t) + '("<pre>\\(.\\|\n\\)*?</pre>\n?" 0 'textile-pre-face t t) ;; <code> blocks '("<code>\\(.\\|\n\\)*?</code>" 0 'textile-code-face t t)) "Keywords/Regexp for fontlocking of textile-mode")