aboutsummaryrefslogtreecommitdiff
path: root/sx-question-mode.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-11-13 14:05:47 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-11-13 14:06:16 +0000
commit14964bc6a4b232b61d06a12fab14e94359b7a14f (patch)
treefa0dcf738130f4d666fab181f493223681e7b010 /sx-question-mode.el
parentcd956435bae189b2aaf5d85fa3e6783b025ca86e (diff)
Add a couple of sx-encoding-clean-content
Diffstat (limited to 'sx-question-mode.el')
-rw-r--r--sx-question-mode.el6
1 files changed, 3 insertions, 3 deletions
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.