aboutsummaryrefslogtreecommitdiff
path: root/src/guile
diff options
context:
space:
mode:
Diffstat (limited to 'src/guile')
-rw-r--r--src/guile/skribilo/engine/html.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/guile/skribilo/engine/html.scm b/src/guile/skribilo/engine/html.scm
index 39ab06e..5dad3bc 100644
--- a/src/guile/skribilo/engine/html.scm
+++ b/src/guile/skribilo/engine/html.scm
@@ -1173,7 +1173,8 @@
;; Make sure the output is suitably encoded.
(and=> (engine-custom e 'charset)
(lambda (charset)
- (set-port-encoding! (current-output-port) charset))))
+ (set-port-encoding! (current-output-port) charset)
+ (set-port-conversion-strategy! (current-output-port) 'error))))
(else #t)))
(let* ((id (markup-ident n))