fix: fix typo (#2870)

This commit is contained in:
Alexandre Fauquette
2023-07-07 08:40:27 -06:00
committed by GitHub
parent 16533f563c
commit e6a7184cb6
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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) {
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -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>'