]> source.dussan.org Git - gitea.git/commit
Rewrite markdown rendering to blackfriday v2 and rewrite orgmode rendering to go...
authorLauris BH <lauris@nix.lv>
Thu, 31 Oct 2019 01:06:25 +0000 (03:06 +0200)
committerzeripath <art27@cantab.net>
Thu, 31 Oct 2019 01:06:25 +0000 (01:06 +0000)
commit086a46994a9f59ba06bfacdf2041817ef2f6671c
tree1a54a4b9f74d2a1c8a3827f24dec2fb77b8a3554
parent690a8ec502ff2e162b6db9cfe1f0555cf6b37323
Rewrite markdown rendering to blackfriday v2 and rewrite orgmode rendering to go-org (#8560)

* Rewrite markdown rendering to blackfriday v2.0

* Fix style

* Fix go mod with golang 1.13

* Fix blackfriday v2 import

* Inital orgmode renderer migration to go-org

* Vendor go-org dependency

* Ignore errors :/

* Update go-org to latest version

* Update test

* Fix go-org test

* Remove unneeded code

* Fix comments

* Fix markdown test

* Fix blackfriday regression rendering HTML block
64 files changed:
go.mod
go.sum
modules/markup/html_test.go
modules/markup/markdown/markdown.go
modules/markup/markdown/markdown_test.go
modules/markup/mdstripper/mdstripper.go
modules/markup/orgmode/orgmode.go
modules/markup/orgmode/orgmode_test.go
vendor/github.com/chaseadamsio/goorgeous/.gitignore [deleted file]
vendor/github.com/chaseadamsio/goorgeous/.travis.yml [deleted file]
vendor/github.com/chaseadamsio/goorgeous/LICENSE [deleted file]
vendor/github.com/chaseadamsio/goorgeous/README.org [deleted file]
vendor/github.com/chaseadamsio/goorgeous/goorgeous.go [deleted file]
vendor/github.com/chaseadamsio/goorgeous/gopher.gif [deleted file]
vendor/github.com/chaseadamsio/goorgeous/gopher_small.gif [deleted file]
vendor/github.com/chaseadamsio/goorgeous/header.go [deleted file]
vendor/github.com/niklasfasching/go-org/LICENSE [new file with mode: 0644]
vendor/github.com/niklasfasching/go-org/org/block.go [new file with mode: 0644]
vendor/github.com/niklasfasching/go-org/org/document.go [new file with mode: 0644]
vendor/github.com/niklasfasching/go-org/org/drawer.go [new file with mode: 0644]
vendor/github.com/niklasfasching/go-org/org/footnote.go [new file with mode: 0644]
vendor/github.com/niklasfasching/go-org/org/fuzz.go [new file with mode: 0644]
vendor/github.com/niklasfasching/go-org/org/headline.go [new file with mode: 0644]
vendor/github.com/niklasfasching/go-org/org/html_entity.go [new file with mode: 0644]
vendor/github.com/niklasfasching/go-org/org/html_writer.go [new file with mode: 0644]
vendor/github.com/niklasfasching/go-org/org/inline.go [new file with mode: 0644]
vendor/github.com/niklasfasching/go-org/org/keyword.go [new file with mode: 0644]
vendor/github.com/niklasfasching/go-org/org/list.go [new file with mode: 0644]
vendor/github.com/niklasfasching/go-org/org/org_writer.go [new file with mode: 0644]
vendor/github.com/niklasfasching/go-org/org/paragraph.go [new file with mode: 0644]
vendor/github.com/niklasfasching/go-org/org/table.go [new file with mode: 0644]
vendor/github.com/niklasfasching/go-org/org/util.go [new file with mode: 0644]
vendor/github.com/niklasfasching/go-org/org/writer.go [new file with mode: 0644]
vendor/github.com/russross/blackfriday/.gitignore [deleted file]
vendor/github.com/russross/blackfriday/.travis.yml [deleted file]
vendor/github.com/russross/blackfriday/LICENSE.txt [deleted file]
vendor/github.com/russross/blackfriday/README.md [deleted file]
vendor/github.com/russross/blackfriday/block.go [deleted file]
vendor/github.com/russross/blackfriday/doc.go [deleted file]
vendor/github.com/russross/blackfriday/html.go [deleted file]
vendor/github.com/russross/blackfriday/inline.go [deleted file]
vendor/github.com/russross/blackfriday/latex.go [deleted file]
vendor/github.com/russross/blackfriday/markdown.go [deleted file]
vendor/github.com/russross/blackfriday/smartypants.go [deleted file]
vendor/github.com/russross/blackfriday/v2/.gitignore [new file with mode: 0644]
vendor/github.com/russross/blackfriday/v2/.travis.yml [new file with mode: 0644]
vendor/github.com/russross/blackfriday/v2/LICENSE.txt [new file with mode: 0644]
vendor/github.com/russross/blackfriday/v2/README.md [new file with mode: 0644]
vendor/github.com/russross/blackfriday/v2/block.go [new file with mode: 0644]
vendor/github.com/russross/blackfriday/v2/doc.go [new file with mode: 0644]
vendor/github.com/russross/blackfriday/v2/esc.go [new file with mode: 0644]
vendor/github.com/russross/blackfriday/v2/go.mod [new file with mode: 0644]
vendor/github.com/russross/blackfriday/v2/html.go [new file with mode: 0644]
vendor/github.com/russross/blackfriday/v2/inline.go [new file with mode: 0644]
vendor/github.com/russross/blackfriday/v2/markdown.go [new file with mode: 0644]
vendor/github.com/russross/blackfriday/v2/node.go [new file with mode: 0644]
vendor/github.com/russross/blackfriday/v2/smartypants.go [new file with mode: 0644]
vendor/github.com/shurcooL/sanitized_anchor_name/.travis.yml
vendor/github.com/shurcooL/sanitized_anchor_name/LICENSE
vendor/github.com/shurcooL/sanitized_anchor_name/README.md
vendor/github.com/shurcooL/sanitized_anchor_name/go.mod [new file with mode: 0644]
vendor/github.com/shurcooL/sanitized_anchor_name/main.go
vendor/golang.org/x/net/html/token.go
vendor/modules.txt