mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-06-24 09:01:43 +00:00
fixed link problems
This commit is contained in:
parent
3f107b8a19
commit
c8eb8fda6d
1 changed files with 7 additions and 1 deletions
|
|
@ -42,6 +42,12 @@ const rules = {
|
||||||
|
|
||||||
text: Object.assign({}, SimpleMarkdown.defaultRules.text, {
|
text: Object.assign({}, SimpleMarkdown.defaultRules.text, {
|
||||||
order: order++,
|
order: order++,
|
||||||
|
match: function(source) {
|
||||||
|
// copied and modified from simple-markdown.js
|
||||||
|
return /^[\s\S][0-9A-Za-z\u00c0-\uffff]*\s?/.exec(source);
|
||||||
|
},
|
||||||
|
parse: SimpleMarkdown.defaultRules.text.parse,
|
||||||
|
html: SimpleMarkdown.defaultRules.text.html,
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue