diff --git a/test/suite/Heist/Tutorial/CompiledSplices.lhs b/test/suite/Heist/Tutorial/CompiledSplices.lhs index 10cad43..ba6e5eb 100644 --- a/test/suite/Heist/Tutorial/CompiledSplices.lhs +++ b/test/suite/Heist/Tutorial/CompiledSplices.lhs @@ -193,19 +193,19 @@ output is no longer something that can be passed into other splices. This composability turns out to be a very powerful feature. Head merging is one feature that can't be done without it. Head merging allows you to put -
tags anyhere in any template and have them all merged into a single - tag at the top of your HTML document. This is useful because it allows +`` tags anyhere in any template and have them all merged into a single +`` tag at the top of your HTML document. This is useful because it allows you to keep concerns localized. For instance, you can have a template represent a small piece of functionality that uses a less common javascript or CSS file. Instead of having to depend on that resource being included in the -top-level tag, you can include it in a tag right where you're +top-level `` tag, you can include it in a `` tag right where you're using it. Then it will only be included on your pages when you are using the markup that needs it. -Our implementation of head merging uses a splice bound to the tag. -This splice removes all the nodes from its children, combines them, and -inserts them as its first child. This won't work unless the splice -first runs all its children to make sure all