mirror of
https://github.com/kovetskiy/mark.git
synced 2026-05-01 12:42:36 +00:00
Fixed #11: Allow Confluence Space to be mixed case
Swap `ToUpper` for `TrimSpace` in meta parser to leave the case as it was passed.
This commit is contained in:
@@ -78,7 +78,7 @@ func ExtractMeta(data []byte) (*Meta, []byte, error) {
|
||||
meta.Parents = append(meta.Parents, value)
|
||||
|
||||
case HeaderSpace:
|
||||
meta.Space = strings.ToUpper(value)
|
||||
meta.Space = strings.TrimSpace(value)
|
||||
|
||||
case HeaderTitle:
|
||||
meta.Title = strings.TrimSpace(value)
|
||||
|
||||
Reference in New Issue
Block a user