From 2398bfc4065a55bcdd13df5a7f980a7760f5b7ee Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Thu, 12 Oct 2023 15:49:07 -0400 Subject: lume/blog/xesite-v4: oops lol Signed-off-by: Xe Iaso --- lume/src/blog/xesite-v4.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lume/src/blog/xesite-v4.mdx b/lume/src/blog/xesite-v4.mdx index 4978138..f8675ff 100644 --- a/lume/src/blog/xesite-v4.mdx +++ b/lume/src/blog/xesite-v4.mdx @@ -66,7 +66,7 @@ pub fn blockquote(body: Markup) -> Markup { } ``` -This is all fine and dandy, but then the real trouble came in with passing this to lol*html. lol\_html doesn't have the concept of getting the children of a component (because this is designed to do *streaming* replacement of HTML elements), so in order to make this work in lol\_html I can't use that template function. I have to write it like this: +This is all fine and dandy, but then the real trouble came in with passing this to lol\_html. lol\_html doesn't have the concept of getting the children of a component (because this is designed to do *streaming* replacement of HTML elements), so in order to make this work in lol\_html I can't use that template function. I have to write it like this: ```rust use lol_html::{element, RewriteStrSettings}; -- cgit v1.2.3