From 85b9b8d2b392210f350af5f7cc96456d0c2002cb Mon Sep 17 00:00:00 2001 From: Sean Allred Date: Wed, 12 Nov 2014 22:29:47 -0500 Subject: Pull in question body Added this field to the filter as well. --- sx-question-mode.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sx-question-mode.el') diff --git a/sx-question-mode.el b/sx-question-mode.el index 48c82a4..b93cc3c 100644 --- a/sx-question-mode.el +++ b/sx-question-mode.el @@ -193,10 +193,9 @@ QUESTION must be a data structure returned by `json-read'." (insert sx-question-mode-separator) (sx-question-mode--wrap-in-overlay '(face sx-question-mode-content-face) - (insert - ;; @TODO: This is temporary, of course. It prevents - ;; errors while the filters aren't setup yet. - (or .body_markdown "BODY") "\n"))))) + (insert + (sx-encoding-clean-content + .body_markdown) "\n"))))) (defmacro sx-question-mode--wrap-in-overlay (properties &rest body) "Execute BODY and wrap any inserted text in an overlay. -- cgit v1.2.3