We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4dc61c commit cf355ddCopy full SHA for cf355dd
client/components/toastui/extendedAutolinks.js
@@ -76,7 +76,7 @@ export function parseUrlLink(source) {
76
// end of raw toast-ui source
77
78
function parseWikiLink(source) {
79
- const matched = source.matchAll(/\[\[(.*?)\]\]/g);
+ const matched = source.matchAll(/\[\[\s*(\S(?:[^\[\]]*?\S)?)\s*\]\]/g);
80
if (matched) {
81
return Array.from(matched).map((match) => {
82
const text = match[1];
0 commit comments