go-org-orgwiki/org
Niklas Fasching 64b2b22270 Fix list item parsing and headline token lvls
As headlines are always lvl (indent) 0 I thought it would be clever to abuse
the lvl field to store the headline lvl. Well, here we are - it wasn't clever.

List items only end when their parent ends or they run into something that's
not indented enough - everything else becomes part of the list item. Abusing
the token.lvl field (indent) for the headline lvl means headlines look indented
to the list item parsing logic - i.e. they become part of the list item if the
headline has a high enough lvl. That should never happen - so let's get rid of
the hack and (re-)calculate the headline lvl when we need it.
2020-07-22 13:49:58 +02:00
..
testdata Fix list item parsing and headline token lvls 2020-07-22 13:49:58 +02:00
block.go fuzz: Fix index out of range for results without content 2020-06-28 21:26:55 +02:00
document.go Add title export option 2020-06-26 12:25:17 +02:00
drawer.go Export WriteNodesAsString on writer interface 2019-11-02 23:44:16 +01:00
footnote.go Export WriteNodesAsString on writer interface 2019-11-02 23:44:16 +01:00
fuzz.go Fix fuzz 2019-01-02 21:22:13 +01:00
headline.go Fix list item parsing and headline token lvls 2020-07-22 13:49:58 +02:00
html_entity.go Add support for org-entities (e.g. ndash, mdash, \Aacute) 2018-12-11 22:12:51 +01:00
html_writer.go html: Wrap headline+content & headline content in containers 2020-06-29 16:48:46 +02:00
html_writer_test.go Add support for extending writers 2019-10-27 16:43:42 +01:00
inline.go html: Support links with image descriptions 2020-06-28 21:16:46 +02:00
keyword.go Implement #+MACRO 2020-04-17 16:41:06 +02:00
list.go Preserve whitespace (indentation) inside paragraphs 2019-12-22 14:17:14 +01:00
org_writer.go Implement #+MACRO 2020-04-17 16:41:06 +02:00
org_writer_test.go Add support for extending writers 2019-10-27 16:43:42 +01:00
paragraph.go Preserve whitespace (indentation) inside paragraphs 2019-12-22 14:17:14 +01:00
table.go Store table separator indices 2020-06-26 20:05:59 +02:00
util.go Improve footnote handling 2018-12-26 15:42:12 +01:00
writer.go Implement #+MACRO 2020-04-17 16:41:06 +02:00