Fix comments: comments must start with #\s not just #
This commit is contained in:
parent
16ccafe8a3
commit
c025db7bdd
5 changed files with 9 additions and 2 deletions
|
@ -207,7 +207,7 @@ func (w *OrgWriter) WriteNodeWithName(n NodeWithName) {
|
|||
}
|
||||
|
||||
func (w *OrgWriter) WriteComment(c Comment) {
|
||||
w.WriteString(w.indent + "#" + c.Content + "\n")
|
||||
w.WriteString(w.indent + "# " + c.Content + "\n")
|
||||
}
|
||||
|
||||
func (w *OrgWriter) WriteList(l List) { WriteNodes(w, l.Items...) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue