Remove trailing space

Co-Authored-By: RomanGotsiy <gotsijroman@gmail.com>
This commit is contained in:
Tony Brix 2018-12-05 16:31:24 +02:00 committed by GitHub
parent 3778730c8f
commit 13868676a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();