deps: Update go-org to v1.2.0

- Add support for #+MACRO
- fix a bug with #+LINK (edge case, should never happen anyways :TM:)
- Make title export optional (add export option)
- Remove cosmetic whitespace added by go-org (for easier visual
  diffing) inside p tags (<p>\nfoo\n</p> => <p>foo</p>)
  (should make `white-space: pre` on p look more in line with expectations)
- implement table separators via multiple tbodies (the html spec is ok with
  that)
This commit is contained in:
Niklas Fasching
2020-06-26 21:05:37 +02:00
committed by Bjørn Erik Pedersen
parent 5b7b5dea1f
commit 2d42ba912b
3 changed files with 4 additions and 4 deletions

View File

@@ -31,5 +31,5 @@ func TestConvert(t *testing.T) {
c.Assert(err, qt.IsNil)
b, err := conv.Convert(converter.RenderContext{Src: []byte("testContent")})
c.Assert(err, qt.IsNil)
c.Assert(string(b.Bytes()), qt.Equals, "<p>\ntestContent\n</p>\n")
c.Assert(string(b.Bytes()), qt.Equals, "<p>testContent</p>\n")
}