fix(description): first sentence no longer repeats until max length (#981)
This commit is contained in:
		@@ -61,6 +61,7 @@ export const Description: QuartzTransformerPlugin<Partial<Options> | undefined>
 | 
				
			|||||||
                const currentSentence = sentence.endsWith(".") ? sentence : sentence + "."
 | 
					                const currentSentence = sentence.endsWith(".") ? sentence : sentence + "."
 | 
				
			||||||
                finalDesc.push(currentSentence)
 | 
					                finalDesc.push(currentSentence)
 | 
				
			||||||
                currentDescriptionLength += currentSentence.length
 | 
					                currentDescriptionLength += currentSentence.length
 | 
				
			||||||
 | 
					                sentenceIdx++
 | 
				
			||||||
              }
 | 
					              }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user