Remove superfluous []string declarations
This commit is contained in:
parent
f27340ed5e
commit
05a2dedbf8
1 changed files with 8 additions and 8 deletions
|
@ -20,14 +20,14 @@ type OrgWriter struct {
|
||||||
var exampleBlockUnescapeRegexp = regexp.MustCompile(`(^|\n)([ \t]*)(\*|,\*|#\+|,#\+)`)
|
var exampleBlockUnescapeRegexp = regexp.MustCompile(`(^|\n)([ \t]*)(\*|,\*|#\+|,#\+)`)
|
||||||
|
|
||||||
var emphasisOrgBorders = map[string][]string{
|
var emphasisOrgBorders = map[string][]string{
|
||||||
"_": []string{"_", "_"},
|
"_": {"_", "_"},
|
||||||
"*": []string{"*", "*"},
|
"*": {"*", "*"},
|
||||||
"/": []string{"/", "/"},
|
"/": {"/", "/"},
|
||||||
"+": []string{"+", "+"},
|
"+": {"+", "+"},
|
||||||
"~": []string{"~", "~"},
|
"~": {"~", "~"},
|
||||||
"=": []string{"=", "="},
|
"=": {"=", "="},
|
||||||
"_{}": []string{"_{", "}"},
|
"_{}": {"_{", "}"},
|
||||||
"^{}": []string{"^{", "}"},
|
"^{}": {"^{", "}"},
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewOrgWriter() *OrgWriter {
|
func NewOrgWriter() *OrgWriter {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue