Fix formatting of description meta tags

This commit is contained in:
Patrick Roe 2023-06-14 21:48:22 +08:00
parent 1542310388
commit 4716d7d664

View file

@ -43,7 +43,10 @@ export class HtmlTags extends Component<HtmlTagsProps, any> {
<meta
key={n}
name={n}
content={htmlToText(md.renderInline(desc))}
content={htmlToText(md.renderInline(desc), {
wordwrap: false,
preserveNewlines: true,
})}
/>
)
)}