From 14964bc6a4b232b61d06a12fab14e94359b7a14f Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Thu, 13 Nov 2014 14:05:47 +0000 Subject: Add a couple of sx-encoding-clean-content --- sx-question-mode.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sx-question-mode.el') diff --git a/sx-question-mode.el b/sx-question-mode.el index a7a8477..4e35fd9 100644 --- a/sx-question-mode.el +++ b/sx-question-mode.el @@ -167,7 +167,7 @@ QUESTION must be a data structure returned by `json-read'." ;; Print everything (sx-assoc-let question (insert sx-question-mode-header-title - (propertize .title + (propertize (sx-encoding-clean-content .title) 'font-lock-face 'sx-question-mode-title 'sx-question-mode--section 1)) ;; Sections are hidden with overlays @@ -197,8 +197,8 @@ QUESTION must be a data structure returned by `json-read'." (sx-question-mode--wrap-in-overlay '(face sx-question-mode-content-face) (insert - (sx-encoding-clean-content - .body_markdown) "\n"))))) + (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