mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-24 05:42:40 +08: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:
parent
22f3e6ce76
commit
4c5b505b38
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user