mirror of
https://github.com/markedjs/marked
synced 2024-11-23 01:38:57 +00:00
Remove trailing space
Co-Authored-By: RomanGotsiy <gotsijroman@gmail.com>
This commit is contained in:
parent
3778730c8f
commit
13868676a4
@ -548,7 +548,7 @@ var inline = {
|
|||||||
text: /^(`+|[^`])[\s\S]*?(?=[\\<!\[`*]|\b_| {2,}\n|$)/
|
text: /^(`+|[^`])[\s\S]*?(?=[\\<!\[`*]|\b_| {2,}\n|$)/
|
||||||
};
|
};
|
||||||
|
|
||||||
// list of punctuation marks from common mark spec
|
// list of punctuation marks from common mark spec
|
||||||
// without ` and ] to workaround Rule 17 (inline code blocks/links)
|
// without ` and ] to workaround Rule 17 (inline code blocks/links)
|
||||||
inline._punctuation = '!"#$%&\'()*+,\\-./:;<=>?@\\[^_{|}~';
|
inline._punctuation = '!"#$%&\'()*+,\\-./:;<=>?@\\[^_{|}~';
|
||||||
inline.em = edit(inline.em).replace(/punctuation/g, inline._punctuation).getRegex();
|
inline.em = edit(inline.em).replace(/punctuation/g, inline._punctuation).getRegex();
|
||||||
|
Loading…
Reference in New Issue
Block a user