1
0
mirror of https://github.com/danog/blackfriday.git synced 2024-11-30 04:29:13 +01:00

Update namespace

This commit is contained in:
Daniil Gentili 2022-01-06 18:49:55 +01:00
parent 7a9993e054
commit 2c98907303
12 changed files with 16 additions and 16 deletions

View File

@ -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.

View File

@ -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
View File

@ -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
View File

@ -1 +1 @@
module github.com/russross/blackfriday/v2 module github.com/danog/blackfriday/v2

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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>[]:&lt;</p>\n", "<p>[]:&lt;</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",
} }

View File

@ -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.

View File

@ -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.