Merge branch 'dev'

This commit is contained in:
DIYgod
2022-10-02 16:03:26 +01:00
2 changed files with 7 additions and 3 deletions
+6 -2
View File
@@ -72,10 +72,14 @@ export const renderPageContent = (
.use(rehypeImage, { env })
.use(rehypeSanitize, {
...defaultSchema,
tagNames: [...(defaultSchema.tagNames || []), "video", "iframe"],
tagNames: [...(defaultSchema.tagNames || []), "video", "iframe", "style"],
attributes: {
...defaultSchema.attributes,
div: [...(defaultSchema.attributes?.div || []), ["className"]],
div: [
...(defaultSchema.attributes?.div || []),
["className"],
["style"],
],
code: [["className"]],
blockquote: allowedBlockquoteAttrs,
video: [
+1 -1
View File
@@ -343,7 +343,7 @@ export default function SubdomainEditor() {
onChange={(e: ChangeEvent<HTMLInputElement>) =>
updateValue("tags", e.target.value)
}
help="Separate multiple tags with commas"
help='Separate multiple tags with English commas ","'
/>
</div>
<div>