Skip to content
Snippets Groups Projects
Verified Commit f7d38658 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: commit save point

parent 80bfae17
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,7 @@ import ( ...@@ -6,6 +6,7 @@ import (
"os" "os"
"path" "path"
"path/filepath" "path/filepath"
"strings"
"gopkg.in/yaml.v3" "gopkg.in/yaml.v3"
) )
...@@ -81,7 +82,7 @@ func rewriteFiles(pageData map[string]*requirement) error { ...@@ -81,7 +82,7 @@ func rewriteFiles(pageData map[string]*requirement) error {
encoder.Close() encoder.Close()
text := "---\n" + buf.String() + "\n...\n" text := "---\n" + buf.String() + "\n...\n"
text += pd.OriginText text += strings.Trim(pd.OriginText, "\n")
info, err := os.Stat(filename) info, err := os.Stat(filename)
if err != nil { if err != nil {
......
...@@ -102,15 +102,6 @@ Privacy: ...@@ -102,15 +102,6 @@ Privacy:
TOM: null TOM: null
... ...
### {{ .Title }} - {{ .ID }} ### {{ .Title }} - {{ .ID }}
#### Subheading #### Subheading
...@@ -166,4 +157,3 @@ test ...@@ -166,4 +157,3 @@ test
test test
@todo das ist ein todo @todo das ist ein todo
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment