@@ -76,7 +76,7 @@ title: "p1"
7676 "Blockquote Alert: |<p>This is a note with some whitespace after the alert type.</p>|alert|" ,
7777 "Blockquote Alert: |<p>This is a tip.</p>" ,
7878 "Blockquote Alert: |<p>This is a caution with some whitespace before the alert type.</p>|alert|" ,
79- "Blockquote: |<p>A regular blockquote.</p>\n |regular|" ,
79+ "Blockquote: |<p>A regular blockquote.</p>|regular|" ,
8080 "Blockquote Alert Attributes: |<p>This is a tip with attributes.</p>|map[class:foo bar id:baz]|" ,
8181 filepath .FromSlash ("/content/p1.md:19:3" ),
8282 "Blockquote Alert Page: |<p>This is a tip with attributes.</p>|p1|p1|" ,
@@ -155,6 +155,7 @@ AlertType: {{ .AlertType }}|AlertTitle: {{ .AlertTitle }}|AlertSign: {{ .AlertSi
155155
156156// Issue 12913
157157// Issue 13119
158+ // Issue 13302
158159func TestBlockquoteRenderHookTextParsing (t * testing.T ) {
159160 t .Parallel ()
160161
@@ -225,6 +226,7 @@ title: home
225226> [!sixteen] _title_
226227> line one
227228
229+ > seventeen
228230`
229231
230232 b := hugolib .Test (t , files )
@@ -246,5 +248,6 @@ title: home
246248 "AlertType: fourteen|AlertTitle: title|Text: <p><img src=\" a.jpg\" alt=\" alt\" ></p>|" ,
247249 "AlertType: fifteen|AlertTitle: <em>title</em>|Text: |" ,
248250 "AlertType: sixteen|AlertTitle: <em>title</em>|Text: <p>line one</p>|" ,
251+ "AlertType: |AlertTitle: |Text: <p>seventeen</p>|" ,
249252 )
250253}
0 commit comments