aboutsummaryrefslogtreecommitdiff
path: root/nov.el
diff options
context:
space:
mode:
authorVasilij Schneidermann <mail@vasilij.de>2017-11-05 00:41:10 +0100
committerVasilij Schneidermann <mail@vasilij.de>2017-11-05 00:41:24 +0100
commit7d14b6a2aa649e2213348883893a24a6a6083cb9 (patch)
treed9aa9cbd1c3f45f520d636f8174825c1fe819d55 /nov.el
parente499e7f3ac756b6c48bfa1641c7c79970d4eb904 (diff)
Always insert metadata values as string
Closes #21
Diffstat (limited to 'nov.el')
-rw-r--r--nov.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/nov.el b/nov.el
index 7e09645..d78cc2b 100644
--- a/nov.el
+++ b/nov.el
@@ -556,7 +556,7 @@ the HTML is rendered with `nov-render-html-function'."
(let ((beg (point)))
(insert value)
(shr-render-region beg (point)))
- (insert value))
+ (insert (format "%s" value)))
(insert (propertize "None" 'face 'italic)))
(insert "\n")))
(goto-char (point-min))))