go-org-orgwiki/org
Niklas Fasching 592be07cfd Refactor space handling of writers
I went through the issues of goorgeous and picked a few that seemed easy enough
to add (and added some fore as todos for later). That helped a lot and showed
some bugs / edge cases that required changes.

- the org writer wrote a lot of eol spaces and just removed it whenever
  String() was actually called. That worked until now but did not bode with
  rendering an empty headline - by removing ALL eol space we would render "* "
  back as just "*" -> not a headline anymore.
- the html writer had some special handling for line spacing inside paragraphs
  and list items - with the introduction of more blocks we need that handling
  everywhere.
  As browsers / html renderers are nice enough to collapse whitespace (and
  especially collapse "\s*\n" into " ") we can just write out the newlines and
  let the renderer take care of the rest.
2018-12-02 23:34:21 +01:00
..
testdata Refactor space handling of writers 2018-12-02 23:34:21 +01:00
block.go Refactor space handling of writers 2018-12-02 23:34:21 +01:00
document.go Fix footnote ordering and some other bugs 2018-12-02 20:09:40 +01:00
footnote.go Fix footnote ordering and some other bugs 2018-12-02 20:09:40 +01:00
headline.go Restructure directory layout: org subpackage 2018-12-02 18:37:55 +01:00
html.go Refactor space handling of writers 2018-12-02 23:34:21 +01:00
html_test.go Restructure directory layout: org subpackage 2018-12-02 18:37:55 +01:00
inline.go Fix inline footnote definition parsing 2018-12-02 23:28:01 +01:00
keyword.go Restructure directory layout: org subpackage 2018-12-02 18:37:55 +01:00
list.go Restructure directory layout: org subpackage 2018-12-02 18:37:55 +01:00
org.go Refactor space handling of writers 2018-12-02 23:34:21 +01:00
org_test.go Restructure directory layout: org subpackage 2018-12-02 18:37:55 +01:00
paragraph.go Restructure directory layout: org subpackage 2018-12-02 18:37:55 +01:00
table.go Restructure directory layout: org subpackage 2018-12-02 18:37:55 +01:00