mirror of
https://github.com/golang/go
synced 2024-10-01 07:38:32 -06:00
e609210bcd
Consider this input: This is preformatted: line 1 line 2 line 3 after blank line Before, this would split into two different <pre> sections in Markdown mode. Now it matches legacy mode and doesn't. Fixes golang/go#37972. Change-Id: I6bf156c76ef9c63b6c3ffe6cce431d9589def867 Reviewed-on: https://go-review.googlesource.com/c/tools/+/224958 Reviewed-by: Andrew Bonventre <andybons@golang.org>
25 lines
230 B
Markdown
25 lines
230 B
Markdown
# Title
|
|
Subtitle
|
|
|
|
Name
|
|
|
|
## Heading
|
|
|
|
Text
|
|
on two lines.
|
|
|
|
More text.
|
|
|
|
---
|
|
<h1>Title</h1>
|
|
<h2>Subtitle</h2>
|
|
<author>
|
|
<p>Name</p>
|
|
</author>
|
|
<section>
|
|
<h2 id="TOC_1.">Heading</h2>
|
|
<p>Text
|
|
on two lines.</p>
|
|
<p>More text.</p>
|
|
</section>
|