mirror of
https://github.com/danog/blackfriday.git
synced 2024-12-02 09:27:49 +01:00
Update namespace
This commit is contained in:
parent
e96880f42b
commit
dee0287a85
2
block.go
2
block.go
@ -1,6 +1,6 @@
|
|||||||
//
|
//
|
||||||
// Blackfriday Markdown Processor
|
// Blackfriday Markdown Processor
|
||||||
// Available at http://github.com/russross/blackfriday
|
// Available at http://github.com/danog/blackfriday
|
||||||
//
|
//
|
||||||
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
||||||
// Distributed under the Simplified BSD License.
|
// Distributed under the Simplified BSD License.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
//
|
//
|
||||||
// Blackfriday Markdown Processor
|
// Blackfriday Markdown Processor
|
||||||
// Available at http://github.com/russross/blackfriday
|
// Available at http://github.com/danog/blackfriday
|
||||||
//
|
//
|
||||||
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
||||||
// Distributed under the Simplified BSD License.
|
// Distributed under the Simplified BSD License.
|
||||||
@ -1602,7 +1602,7 @@ func TestListWithFencedCodeBlock(t *testing.T) {
|
|||||||
var tests = []string{
|
var tests = []string{
|
||||||
"1. one\n\n ```\n code\n ```\n\n2. two\n",
|
"1. one\n\n ```\n code\n ```\n\n2. two\n",
|
||||||
"<ol>\n<li><p>one</p>\n\n<pre><code>code\n</code></pre></li>\n\n<li><p>two</p></li>\n</ol>\n",
|
"<ol>\n<li><p>one</p>\n\n<pre><code>code\n</code></pre></li>\n\n<li><p>two</p></li>\n</ol>\n",
|
||||||
// https://github.com/russross/blackfriday/issues/239
|
// https://github.com/danog/blackfriday/issues/239
|
||||||
"1. one\n\n ```\n - code\n ```\n\n2. two\n",
|
"1. one\n\n ```\n - code\n ```\n\n2. two\n",
|
||||||
"<ol>\n<li><p>one</p>\n\n<pre><code>- code\n</code></pre></li>\n\n<li><p>two</p></li>\n</ol>\n",
|
"<ol>\n<li><p>one</p>\n\n<pre><code>- code\n</code></pre></li>\n\n<li><p>two</p></li>\n</ol>\n",
|
||||||
}
|
}
|
||||||
@ -1612,7 +1612,7 @@ func TestListWithFencedCodeBlock(t *testing.T) {
|
|||||||
func TestListWithMalformedFencedCodeBlock(t *testing.T) {
|
func TestListWithMalformedFencedCodeBlock(t *testing.T) {
|
||||||
// Ensure that in the case of an unclosed fenced code block in a list,
|
// Ensure that in the case of an unclosed fenced code block in a list,
|
||||||
// no source gets ommitted (even if it is malformed).
|
// no source gets ommitted (even if it is malformed).
|
||||||
// See russross/blackfriday#372 for context.
|
// See danog/blackfriday#372 for context.
|
||||||
var tests = []string{
|
var tests = []string{
|
||||||
"1. one\n\n ```\n code\n\n2. two\n",
|
"1. one\n\n ```\n code\n\n2. two\n",
|
||||||
"<ol>\n<li>one\n\n```\ncode\n\n2. two</li>\n</ol>\n",
|
"<ol>\n<li>one\n\n```\ncode\n\n2. two</li>\n</ol>\n",
|
||||||
|
2
go.mod
2
go.mod
@ -1,3 +1,3 @@
|
|||||||
module github.com/russross/blackfriday
|
module github.com/danog/blackfriday
|
||||||
|
|
||||||
go 1.13
|
go 1.13
|
||||||
|
2
html.go
2
html.go
@ -1,6 +1,6 @@
|
|||||||
//
|
//
|
||||||
// Blackfriday Markdown Processor
|
// Blackfriday Markdown Processor
|
||||||
// Available at http://github.com/russross/blackfriday
|
// Available at http://github.com/danog/blackfriday
|
||||||
//
|
//
|
||||||
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
||||||
// Distributed under the Simplified BSD License.
|
// Distributed under the Simplified BSD License.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
//
|
//
|
||||||
// Blackfriday Markdown Processor
|
// Blackfriday Markdown Processor
|
||||||
// Available at http://github.com/russross/blackfriday
|
// Available at http://github.com/danog/blackfriday
|
||||||
//
|
//
|
||||||
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
||||||
// Distributed under the Simplified BSD License.
|
// Distributed under the Simplified BSD License.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
//
|
//
|
||||||
// Blackfriday Markdown Processor
|
// Blackfriday Markdown Processor
|
||||||
// Available at http://github.com/russross/blackfriday
|
// Available at http://github.com/danog/blackfriday
|
||||||
//
|
//
|
||||||
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
||||||
// Distributed under the Simplified BSD License.
|
// Distributed under the Simplified BSD License.
|
||||||
|
2
latex.go
2
latex.go
@ -1,6 +1,6 @@
|
|||||||
//
|
//
|
||||||
// Blackfriday Markdown Processor
|
// Blackfriday Markdown Processor
|
||||||
// Available at http://github.com/russross/blackfriday
|
// Available at http://github.com/danog/blackfriday
|
||||||
//
|
//
|
||||||
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
||||||
// Distributed under the Simplified BSD License.
|
// Distributed under the Simplified BSD License.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
//
|
//
|
||||||
// Blackfriday Markdown Processor
|
// Blackfriday Markdown Processor
|
||||||
// Available at http://github.com/russross/blackfriday
|
// Available at http://github.com/danog/blackfriday
|
||||||
//
|
//
|
||||||
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
||||||
// Distributed under the Simplified BSD License.
|
// Distributed under the Simplified BSD License.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
//
|
//
|
||||||
// Blackfriday Markdown Processor
|
// Blackfriday Markdown Processor
|
||||||
// Available at http://github.com/russross/blackfriday
|
// Available at http://github.com/danog/blackfriday
|
||||||
//
|
//
|
||||||
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
||||||
// Distributed under the Simplified BSD License.
|
// Distributed under the Simplified BSD License.
|
||||||
@ -62,12 +62,12 @@ func TestDocument(t *testing.T) {
|
|||||||
"",
|
"",
|
||||||
|
|
||||||
// This shouldn't panic.
|
// This shouldn't panic.
|
||||||
// https://github.com/russross/blackfriday/issues/172
|
// https://github.com/danog/blackfriday/issues/172
|
||||||
"[]:<",
|
"[]:<",
|
||||||
"<p>[]:<</p>\n",
|
"<p>[]:<</p>\n",
|
||||||
|
|
||||||
// This shouldn't panic.
|
// This shouldn't panic.
|
||||||
// https://github.com/russross/blackfriday/issues/173
|
// https://github.com/danog/blackfriday/issues/173
|
||||||
" [",
|
" [",
|
||||||
"<p>[</p>\n",
|
"<p>[</p>\n",
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
//
|
//
|
||||||
// Blackfriday Markdown Processor
|
// Blackfriday Markdown Processor
|
||||||
// Available at http://github.com/russross/blackfriday
|
// Available at http://github.com/danog/blackfriday
|
||||||
//
|
//
|
||||||
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
||||||
// Distributed under the Simplified BSD License.
|
// Distributed under the Simplified BSD License.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
//
|
//
|
||||||
// Blackfriday Markdown Processor
|
// Blackfriday Markdown Processor
|
||||||
// Available at http://github.com/russross/blackfriday
|
// Available at http://github.com/danog/blackfriday
|
||||||
//
|
//
|
||||||
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
// Copyright © 2011 Russ Ross <russ@russross.com>.
|
||||||
// Distributed under the Simplified BSD License.
|
// Distributed under the Simplified BSD License.
|
||||||
|
Loading…
Reference in New Issue
Block a user