aboutsummaryrefslogtreecommitdiffhomepage
path: root/nuldoc-src/templates/utils.ts
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-03-18 15:47:05 +0900
committernsfisis <nsfisis@gmail.com>2023-03-18 15:47:05 +0900
commit2b50e1778b164e641c03c2e77176b6f47ca1e278 (patch)
tree3fa48f5c5c3c2b9d8753ce82d438aa2523856660 /nuldoc-src/templates/utils.ts
parent4ce1f674055ac1dd1c4864f366aac212f5643248 (diff)
downloadblog.nsfisis.dev-2b50e1778b164e641c03c2e77176b6f47ca1e278.tar.gz
blog.nsfisis.dev-2b50e1778b164e641c03c2e77176b6f47ca1e278.tar.zst
blog.nsfisis.dev-2b50e1778b164e641c03c2e77176b6f47ca1e278.zip
refactor: add RawHTML type to represent text node not being escaped
Diffstat (limited to 'nuldoc-src/templates/utils.ts')
-rw-r--r--nuldoc-src/templates/utils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/nuldoc-src/templates/utils.ts b/nuldoc-src/templates/utils.ts
index a86803d..65dd506 100644
--- a/nuldoc-src/templates/utils.ts
+++ b/nuldoc-src/templates/utils.ts
@@ -7,6 +7,7 @@ export function text(content: string): Text {
return {
kind: "text",
content: content,
+ raw: false,
};
}