Changelog-changed: No more leading hash marks in tag names
---
helpers.go | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/helpers.go b/helpers.go
index 7d30e3f..53dd36f 100644
--- a/helpers.go
+++ b/helpers.go
@@ -745,6 +745,10 @@ func ProcessTags(ctx context.Context, tags []string) ([]int, error) {
tagIDs := make([]int, 0)
for _, tag := range tags {
tag := strings.TrimSpace(tag)
+ if strings.HasPrefix(tag, "#") {
+ // Remove any leading hash mark
+ tag = tag[1:]
+ }
if tag != "" {
slug := Slugify(tag)
if len(tag) > 50 || len(slug) > 50 {
--
2.47.2