diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-02-07 10:30:32 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-02-07 21:37:04 +0100 |
commit | 676e6875dac391f1ec1f7369ed2d59439f434806 (patch) | |
tree | af689eec1f48d511169f8b07f4c65420c7479413 /helpers/general.go | |
parent | 068ccde4c75d018b977f4169308b3c994c6f3031 (diff) | |
download | hugo-676e6875dac391f1ec1f7369ed2d59439f434806.tar.gz hugo-676e6875dac391f1ec1f7369ed2d59439f434806.zip |
Make HTML behave exactly like other content formats (note)
Fixes #11999
Diffstat (limited to 'helpers/general.go')
-rw-r--r-- | helpers/general.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/general.go b/helpers/general.go index 35e35a7e0..859d1ead7 100644 --- a/helpers/general.go +++ b/helpers/general.go @@ -328,7 +328,7 @@ func PrintFs(fs afero.Fs, path string, w io.Writer) { } afero.Walk(fs, path, func(path string, info os.FileInfo, err error) error { - fmt.Println(path) + fmt.Fprintln(w, filepath.ToSlash(path)) return nil }) } |