fix: use the right escape function

This commit is contained in:
Timothy Lin 2023-07-23 23:06:10 +08:00
parent ed0b0eb953
commit 293e16e1df

View File

@ -1,6 +1,7 @@
import { writeFileSync, mkdirSync } from 'fs'
import path from 'path'
import GithubSlugger from 'github-slugger'
import { escape } from 'pliny/utils/htmlEscaper.js'
import siteMetadata from '../data/siteMetadata.js'
import tagData from '../app/tag-data.json' assert { type: 'json' }
import { allBlogs } from '../.contentlayer/generated/index.mjs'