mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Strip trailing whitespace in code
This commit is contained in:
parent
f2ab0b2608
commit
b0416e9bef
2 changed files with 4 additions and 4 deletions
|
@ -1593,9 +1593,9 @@ func (s *Site) futureStats() string {
|
||||||
|
|
||||||
switch s.futureCount {
|
switch s.futureCount {
|
||||||
case 0:
|
case 0:
|
||||||
return "0 future content "
|
return "0 future content"
|
||||||
case 1:
|
case 1:
|
||||||
msg = "1 future rendered "
|
msg = "1 future rendered"
|
||||||
default:
|
default:
|
||||||
msg = fmt.Sprintf("%d future rendered", s.draftCount)
|
msg = fmt.Sprintf("%d future rendered", s.draftCount)
|
||||||
}
|
}
|
||||||
|
|
|
@ -323,9 +323,9 @@ func doTestCrossrefs(t *testing.T, relative, uglyUrls bool) {
|
||||||
// Issue #1148: Make sure that no P-tags is added around shortcodes.
|
// Issue #1148: Make sure that no P-tags is added around shortcodes.
|
||||||
{filepath.FromSlash("sect/doc2.md"),
|
{filepath.FromSlash("sect/doc2.md"),
|
||||||
[]byte(fmt.Sprintf(`**Ref 1:**
|
[]byte(fmt.Sprintf(`**Ref 1:**
|
||||||
|
|
||||||
{{< %s "sect/doc1.md" >}}
|
{{< %s "sect/doc1.md" >}}
|
||||||
|
|
||||||
THE END.`, refShortcode))},
|
THE END.`, refShortcode))},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue