Fix formatting of description meta tags
This commit is contained in:
parent
1542310388
commit
4716d7d664
1 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,10 @@ export class HtmlTags extends Component<HtmlTagsProps, any> {
|
||||||
<meta
|
<meta
|
||||||
key={n}
|
key={n}
|
||||||
name={n}
|
name={n}
|
||||||
content={htmlToText(md.renderInline(desc))}
|
content={htmlToText(md.renderInline(desc), {
|
||||||
|
wordwrap: false,
|
||||||
|
preserveNewlines: true,
|
||||||
|
})}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue