diff options
author | Thorkild Gregersen <oganga@users.noreply.github.com> | 2020-05-18 21:01:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-18 13:01:04 -0600 |
commit | 483e31b9788f57b0a1adc153574878d0c7c4feb0 (patch) | |
tree | f9f1b541892060d09671fdfa86c307906ebc234b /modules/logging/encoders.go | |
parent | 41a682ddde15f333b11ac35677ab781ec40e0021 (diff) |
templates: trim windows whitespace in SplitFrontMatter; fix #3386 (#3387)
* add test case for SplitFrontMatter showing issue with windows newline
* fix issue with windows newline when using SplitFrontMatter
* Update modules/caddyhttp/templates/frontmatter.go
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
* make it mere explicit what is trimmed from firstLine
* Update modules/caddyhttp/templates/frontmatter.go
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
Diffstat (limited to 'modules/logging/encoders.go')
0 files changed, 0 insertions, 0 deletions