mirror of https://github.com/markedjs/marked
🗜️ build v5.0.3 [skip ci]
parent
a37fe8e82b
commit
b427dc812b
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* marked v5.0.2 - a markdown parser
|
||||
* marked v5.0.3 - a markdown parser
|
||||
* Copyright (c) 2011-2023, Christopher Jeffrey. (MIT Licensed)
|
||||
* https://github.com/markedjs/marked
|
||||
*/
|
||||
|
@ -1239,7 +1239,7 @@ inline._punctuation = '!"#$%&\'()+\\-.,/:;<=>?@\\[\\]`^{|}~';
|
|||
inline.punctuation = edit(inline.punctuation).replace(/punctuation/g, inline._punctuation).getRegex();
|
||||
|
||||
// sequences em should skip over [title](link), `code`, <html>
|
||||
inline.blockSkip = /\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;
|
||||
inline.blockSkip = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g;
|
||||
// lookbehind is not available on Safari as of version 16
|
||||
// inline.escapedEmSt = /(?<=(?:^|[^\\)(?:\\[^])*)\\[*_]/g;
|
||||
inline.escapedEmSt = /(?:^|[^\\])(?:\\\\)*\\[*_]/g;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* marked v5.0.2 - a markdown parser
|
||||
* marked v5.0.3 - a markdown parser
|
||||
* Copyright (c) 2011-2023, Christopher Jeffrey. (MIT Licensed)
|
||||
* https://github.com/markedjs/marked
|
||||
*/
|
||||
|
@ -1305,7 +1305,7 @@ inline._punctuation = '!"#$%&\'()+\\-.,/:;<=>?@\\[\\]`^{|}~';
|
|||
inline.punctuation = edit(inline.punctuation).replace(/punctuation/g, inline._punctuation).getRegex();
|
||||
|
||||
// sequences em should skip over [title](link), `code`, <html>
|
||||
inline.blockSkip = /\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;
|
||||
inline.blockSkip = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g;
|
||||
// lookbehind is not available on Safari as of version 16
|
||||
// inline.escapedEmSt = /(?<=(?:^|[^\\)(?:\\[^])*)\\[*_]/g;
|
||||
inline.escapedEmSt = /(?:^|[^\\])(?:\\\\)*\\[*_]/g;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
* marked v5.0.2 - a markdown parser
|
||||
* marked v5.0.3 - a markdown parser
|
||||
* Copyright (c) 2011-2023, Christopher Jeffrey. (MIT Licensed)
|
||||
* https://github.com/markedjs/marked
|
||||
*/
|
||||
|
@ -1243,7 +1243,7 @@
|
|||
inline.punctuation = edit(inline.punctuation).replace(/punctuation/g, inline._punctuation).getRegex();
|
||||
|
||||
// sequences em should skip over [title](link), `code`, <html>
|
||||
inline.blockSkip = /\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;
|
||||
inline.blockSkip = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g;
|
||||
// lookbehind is not available on Safari as of version 16
|
||||
// inline.escapedEmSt = /(?<=(?:^|[^\\)(?:\\[^])*)\\[*_]/g;
|
||||
inline.escapedEmSt = /(?:^|[^\\])(?:\\\\)*\\[*_]/g;
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue