mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
@@ -153,7 +153,7 @@ func TestNestedNamedMissingParam(t *testing.T) {
|
|||||||
|
|
||||||
CheckShortCodeMatch(t,
|
CheckShortCodeMatch(t,
|
||||||
`{{% acc %}}{{% div %}}d1{{% /div %}}{{% div2 %}}d2{{% /div2 %}}{{% /acc %}}`,
|
`{{% acc %}}{{% div %}}d1{{% /div %}}{{% div2 %}}d2{{% /div2 %}}{{% /acc %}}`,
|
||||||
"<div class=\"acc1\"><div></div>\n</div>", tem)
|
"<div class=\"acc\"><div >d1</div><div >d2</div>\n</div>", tem)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestIsNamedParamsSC(t *testing.T) {
|
func TestIsNamedParamsSC(t *testing.T) {
|
||||||
|
Reference in New Issue
Block a user