mirror of
https://github.com/golang/go
synced 2024-11-18 16:04:44 -07: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>
23 lines
417 B
Markdown
23 lines
417 B
Markdown
# Media
|
|
|
|
##
|
|
|
|
.image gopher.jpg _ 100
|
|
.caption A gopher.
|
|
|
|
.iframe https://golang.org/
|
|
|
|
.link https://golang.org/ The Gopher's home.
|
|
|
|
.html testdata/media.html
|
|
|
|
---
|
|
<h1>Media</h1>
|
|
<section>
|
|
<img src="gopher.jpg" width="100" alt="">
|
|
<figcaption>A gopher.</figcaption>
|
|
<iframe src="https://golang.org/"></iframe>
|
|
<p class="link"><a href="https://golang.org/">The Gopher's home.</a></p>
|
|
<!-- media.html -->
|
|
</section>
|