mirror of
https://github.com/danog/blackfriday.git
synced 2024-11-30 04:29:13 +01:00
Update namespace
This commit is contained in:
parent
7a9993e054
commit
2c98907303
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.
|
||||||
@ -1589,7 +1589,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",
|
||||||
}
|
}
|
||||||
@ -1600,7 +1600,7 @@ func TestListWithMalformedFencedCodeBlock(t *testing.T) {
|
|||||||
t.Parallel()
|
t.Parallel()
|
||||||
// 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```\ncode\n2. two</li>\n</ol>\n",
|
"<ol>\n<li>one\n```\ncode\n2. two</li>\n</ol>\n",
|
||||||
|
2
doc.go
2
doc.go
@ -14,7 +14,7 @@
|
|||||||
// to the Markdown processor.
|
// to the Markdown processor.
|
||||||
//
|
//
|
||||||
// If you're interested in calling Blackfriday from command line, see
|
// If you're interested in calling Blackfriday from command line, see
|
||||||
// https://github.com/russross/blackfriday-tool.
|
// https://github.com/danog/blackfriday-tool.
|
||||||
//
|
//
|
||||||
// Sanitized Anchor Names
|
// Sanitized Anchor Names
|
||||||
//
|
//
|
||||||
|
2
go.mod
2
go.mod
@ -1 +1 @@
|
|||||||
module github.com/russross/blackfriday/v2
|
module github.com/danog/blackfriday/v2
|
||||||
|
@ -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
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.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// 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.
|
||||||
@ -26,12 +26,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