diff options
author | Niklas Fasching <niklas.fasching@gmail.com> | 2020-06-26 21:05:37 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2020-06-27 13:28:01 +0200 |
commit | 2d42ba912ba945230aa0be23c3c8256cba40ce99 (patch) | |
tree | ac2b33309cfa8128fc8d86a5babb8f8c72d46169 /markup | |
parent | 5b7b5dea1fe3494995c6a9c3368087abf47cdc12 (diff) |
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)
Diffstat (limited to 'markup')
-rw-r--r-- | markup/org/convert_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markup/org/convert_test.go b/markup/org/convert_test.go index 94fcdf836..9fc946ca6 100644 --- a/markup/org/convert_test.go +++ b/markup/org/convert_test.go @@ -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") } |