remove unnecessary escapes

This commit is contained in:
Nathan Smith 2025-01-19 18:50:40 -05:00
parent 7679a149be
commit 41f6c40bb3

View file

@ -36,7 +36,7 @@ class InlineTagWidget extends WidgetType {
}
}
export const matchRegexp = /(?<!]\()https:\/\/github\.com\/[^\s]+(?<!['\".\?,:;]+)/g
export const matchRegexp = /(?<!]\()https:\/\/github\.com\/[^\s]+(?<!['".?,:;]+)/g;
export function createInlineViewPlugin(_plugin: GithubLinkPlugin) {
class InlineViewPluginValue implements PluginValue {