mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
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:
committed by
Bjørn Erik Pedersen
parent
5b7b5dea1f
commit
2d42ba912b
@@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user