fix: properly parse tags in body
This commit is contained in:
		@@ -290,8 +290,9 @@ export const ObsidianFlavoredMarkdown: QuartzTransformerPlugin<Partial<Options>
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                tag = slugTag(tag)
 | 
			
		||||
                if (file.data.frontmatter?.tags?.includes(tag)) {
 | 
			
		||||
                  file.data.frontmatter.tags.push(tag)
 | 
			
		||||
                if (file.data.frontmatter) {
 | 
			
		||||
                  const noteTags = file.data.frontmatter.tags ?? []
 | 
			
		||||
                  file.data.frontmatter.tags = [...new Set([...noteTags, tag])]
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                return {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user