diff --git a/basis/html/templates/chloe/compiler/compiler.factor b/basis/html/templates/chloe/compiler/compiler.factor
index aa741ebf9f..4f2eaafe26 100644
--- a/basis/html/templates/chloe/compiler/compiler.factor
+++ b/basis/html/templates/chloe/compiler/compiler.factor
@@ -123,8 +123,8 @@ DEFER: compile-element
: compile-prologue ( xml -- )
[
- [ before>> compile-chunk ]
[ prolog>> [ write-prolog ] [code-with] ]
+ [ before>> compile-chunk ]
bi
] compile-quot
[ if-not-nested ] [code] ;