Skip to content

PlainText in heading hook for multiline titles does not preserve the newlines #13410

Closed
@bep

Description

@bep
---
title: "p1"
---

First line.
Second line.
----------------

Gives PlainText => First line.Second line..

I didn't even know that multiline titles (without <br>) was even possible in CommonMark before yesterday, so I'm guessing this isn't a widespread issue.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions