mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-05 09:04:28 -06:00
Merge pull request #338 from mrlugilugi/fix-error-formatting-asterisks-as-unordered-list
fix: Formatting asterisks divided by space results in console error #337
This commit is contained in:
commit
0f559258c5
@ -1200,7 +1200,7 @@ function _toggleLine(cm, name) {
|
||||
var _checkChar = function (name, char) {
|
||||
var map = {
|
||||
'quote': '>',
|
||||
'unordered-list': '*',
|
||||
'unordered-list': '\\*',
|
||||
'ordered-list': '\\d+.',
|
||||
};
|
||||
var rt = new RegExp(map[name]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user