diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-02-26 23:25:51 -0300 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-02-26 23:25:51 -0300 |
commit | 1e8299a933e115c41d81f00948074085d961e47c (patch) | |
tree | 552cbb10f5f124385e273760761f9611d05449b4 | |
parent | ee0e79475ed49f0e28c530994beebbafd1d77ca8 (diff) | |
parent | ee52cccc8f674ac6df35b44c229cd16377c38629 (diff) |
Merge branch 'handle-html-tags' into print-question-without-temp-buffer
-rw-r--r-- | sx-question-print.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sx-question-print.el b/sx-question-print.el index 2acd789..8d61773 100644 --- a/sx-question-print.el +++ b/sx-question-print.el @@ -463,9 +463,8 @@ END should be a marker." ;; Searching for a match has no bounds. nil 'noerror) (let ((r (copy-marker (match-beginning 0)))) - ;; The code tag is special, because it quotes everything in - ;; the middle. - (if (string= tag "quote") + ;; The code tag is special, because it quotes everything inside. + (if (string= tag "code") (progn (replace-match "`") (save-excursion (goto-char l) (insert "`"))) (replace-match "") |