mirror of
https://github.com/markedjs/marked.git
synced 2026-11-30 16:48:05 +01:00
fix: fix typo (#2870)
This commit is contained in:
+1
-1
@@ -2759,7 +2759,7 @@ function _parseMarkdown2(lexer, parser) {
|
||||
}
|
||||
function _onError2(silent, async, callback) {
|
||||
return function (e) {
|
||||
e.message += '\nPlease report this to https://github.com/markedjs/this.';
|
||||
e.message += '\nPlease report this to https://github.com/markedjs/marked.';
|
||||
if (silent) {
|
||||
var msg = '<p>An error occurred:</p><pre>' + escape(e.message + '', true) + '</pre>';
|
||||
if (async) {
|
||||
|
||||
+1
-1
@@ -2846,7 +2846,7 @@ class Marked {
|
||||
|
||||
#onError(silent, async, callback) {
|
||||
return (e) => {
|
||||
e.message += '\nPlease report this to https://github.com/markedjs/this.';
|
||||
e.message += '\nPlease report this to https://github.com/markedjs/marked.';
|
||||
|
||||
if (silent) {
|
||||
const msg = '<p>An error occurred:</p><pre>'
|
||||
|
||||
+1
-1
@@ -2763,7 +2763,7 @@
|
||||
}
|
||||
function _onError2(silent, async, callback) {
|
||||
return function (e) {
|
||||
e.message += '\nPlease report this to https://github.com/markedjs/this.';
|
||||
e.message += '\nPlease report this to https://github.com/markedjs/marked.';
|
||||
if (silent) {
|
||||
var msg = '<p>An error occurred:</p><pre>' + escape(e.message + '', true) + '</pre>';
|
||||
if (async) {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -345,7 +345,7 @@ export class Marked {
|
||||
|
||||
#onError(silent, async, callback) {
|
||||
return (e) => {
|
||||
e.message += '\nPlease report this to https://github.com/markedjs/this.';
|
||||
e.message += '\nPlease report this to https://github.com/markedjs/marked.';
|
||||
|
||||
if (silent) {
|
||||
const msg = '<p>An error occurred:</p><pre>'
|
||||
|
||||
Reference in New Issue
Block a user