fix(web/panettone): make (who:html-mode) stick
(who:html-mode) needs to be set at macro expansion time to properly take effect which wasn't the case before, but is ensured now by :compile-toplevel. :load-toplevel ensures that who inside the repl will behave the same. Since the :html5 behavior is now actually used, we need to adjust some of the test cases to account for the different :html5 escaping mode. Change-Id: I4dfe1d2db38da6a2486fde86596f7e5f50ed8b9f Reviewed-on: https://cl.tvl.fyi/c/depot/+/4885 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
parent
bce5192566
commit
0d24efcdc9
2 changed files with 4 additions and 3 deletions
|
@ -56,7 +56,8 @@
|
|||
|
||||
(defvar *title* "Panettone")
|
||||
|
||||
(setf (who:html-mode) :html5)
|
||||
(eval-when (:compile-toplevel :load-toplevel)
|
||||
(setf (who:html-mode) :html5))
|
||||
|
||||
(defun render/nav ()
|
||||
(who:with-html-output (*standard-output*)
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
(inline-markdown-unit-test
|
||||
inline-markdown-html-escaping-test
|
||||
"<tag>öäü"
|
||||
"<tag>öäü")
|
||||
"<tag>öäü")
|
||||
|
||||
(inline-markdown-unit-test
|
||||
inline-markdown-nesting-test
|
||||
|
@ -51,4 +51,4 @@
|
|||
(inline-markdown-unit-test
|
||||
inline-markdown-unicode-safe
|
||||
"Does Unicode 👨👨👧👦 break \\👩🏾🦰 tokenization?"
|
||||
"Does Unicode 👨‍👨‍👧‍👦 break \\👩🏾‍🦰 tokenization?")
|
||||
"Does Unicode 👨‍👨‍👧‍👦 break \\👩🏾‍🦰 tokenization?")
|
||||
|
|
Loading…
Reference in a new issue