diff options
author | Bjørn Erik Pedersen <[email protected]> | 2022-01-04 13:26:23 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-01-04 17:10:39 +0100 |
commit | 1651beb2c162f64a55d17f8f62223d82418569c9 (patch) | |
tree | 05a18253c54384a31cade948189f7b58d4608a17 /hugolib/shortcode_test.go | |
parent | 2b6063c3e388056597af88709ff017d15f53c962 (diff) | |
download | hugo-1651beb2c162f64a55d17f8f62223d82418569c9.tar.gz hugo-1651beb2c162f64a55d17f8f62223d82418569c9.zip |
Remove mmark
Closes #9350
Diffstat (limited to 'hugolib/shortcode_test.go')
-rw-r--r-- | hugolib/shortcode_test.go | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/hugolib/shortcode_test.go b/hugolib/shortcode_test.go index 6316afc98..9fc9a9675 100644 --- a/hugolib/shortcode_test.go +++ b/hugolib/shortcode_test.go @@ -533,17 +533,7 @@ e`, filepath.FromSlash("public/sect/doc8/index.html"), "<div class=\"document\">\n\n\n<p><strong>Shortcodes:</strong> <em>b: b c: c</em></p>\n</div>", }, - { - "sect/doc9.mmark", ` ---- -menu: - main: - parent: 'parent' ---- -**Shortcodes:** *b: {{< b >}} c: {{% c %}}*`, - filepath.FromSlash("public/sect/doc9/index.html"), - "<p><strong>Shortcodes:</strong> <em>b: b c: c</em></p>\n", - }, + // Issue #1229: Menus not available in shortcode. { "sect/doc10.md", `--- @@ -562,6 +552,9 @@ tags: "sect/doc11.md", `--- tags: - Bugs +menu: + main: + parent: 'parent' --- **Tags:** {{< tags >}}`, filepath.FromSlash("public/sect/doc11/index.html"), @@ -1390,7 +1383,7 @@ outputs: ["html", "css", "csv", "json"] b.Build(BuildCfg{}) - //helpers.PrintFs(b.Fs.Destination, "public", os.Stdout) + // helpers.PrintFs(b.Fs.Destination, "public", os.Stdout) for i := 0; i < numPages; i++ { b.AssertFileContent(fmt.Sprintf("public/page%d/index.html", i), "Short-HTML") |