fix undefined

This commit is contained in:
plebeius.eth
2024-03-28 09:31:28 +01:00
parent 311896d122
commit b3353a28f5
3 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ const blockquoteToGreentext = () => (tree: any) => {
const Markdown = ({ content }: MarkdownProps) => {
const remarkPlugins: any[] = [[supersub]];
if (content.length <= MAX_LENGTH_FOR_GFM) {
if (content && content.length <= MAX_LENGTH_FOR_GFM) {
remarkPlugins.push([remarkGfm, { singleTilde: false }]);
}