summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-11-27 21:24:02 +0200
committerPaul Buetow <paul@buetow.org>2024-11-27 21:24:02 +0200
commit2a4a54ae8ff2b46c3f050b0fafd706d979c0a2c4 (patch)
tree574ded34ffa2782f8416de5e4c3172c21649da04 /internal
parentf06a04e0f003c556c9273b2c4660b201d179598e (diff)
refactor
Diffstat (limited to 'internal')
-rw-r--r--internal/tags/inline.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/tags/inline.go b/internal/tags/inline.go
index 51277a5..0509f4d 100644
--- a/internal/tags/inline.go
+++ b/internal/tags/inline.go
@@ -14,7 +14,7 @@ import (
var inlineTagRE = regexp.MustCompile(`^[a-z\.,:]*$`)
-// Extracts the inline tags into the filepath and removes them from the content.
+// Extracts the inline tags from the content ant inserts them into the file path.
func InlineExtract(filePath string) (string, error) {
content, err := oi.SlurpAndTrim(filePath)
if err != nil {