You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-27 23:28:38 +02:00
All: Fixed link issue following last update
This commit is contained in:
@ -8,7 +8,7 @@ function installRule(markdownIt, mdOptions, ruleOptions) {
|
||||
const token = tokens[idx];
|
||||
let href = utils.getAttr(token.attrs, 'href');
|
||||
const resourceHrefInfo = urlUtils.parseResourceUrl(href);
|
||||
const isResourceUrl = !!resourceHrefInfo.itemId;
|
||||
const isResourceUrl = !!resourceHrefInfo;
|
||||
const title = isResourceUrl ? utils.getAttr(token.attrs, 'title') : href;
|
||||
|
||||
let resourceIdAttr = '';
|
||||
|
Reference in New Issue
Block a user