mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-24 05:42:40 +08:00
Merge pull request #12 from dauc/master
Fixed #11: Allow Confluence Space to be mixed case
This commit is contained in:
commit
a15e08eabf
@ -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