summaryrefslogtreecommitdiffstats
path: root/markup/org
diff options
context:
space:
mode:
authorNiklas Fasching <niklas.fasching@gmail.com>2020-06-26 21:05:37 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-06-27 13:28:01 +0200
commit2d42ba912ba945230aa0be23c3c8256cba40ce99 (patch)
treeac2b33309cfa8128fc8d86a5babb8f8c72d46169 /markup/org
parent5b7b5dea1fe3494995c6a9c3368087abf47cdc12 (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/org')
-rw-r--r--markup/org/convert_test.go2
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")
}