Problem: the search query does not use _ for spaces when creating a new page
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Solution: create a new page with _ for spaces
This commit is contained in:
parent
1b8b5ff4f6
commit
b4a721ffeb
|
@ -31,7 +31,7 @@ function startQuery(query, opt) {
|
|||
let actualResult = [];
|
||||
if (opt.internal) {
|
||||
actualResult.push({
|
||||
ref: query,
|
||||
ref: query.replace(/\s+/g, '_'),
|
||||
title: 'Create new page "' + query + '"',
|
||||
line: 'New page',
|
||||
text: 'New page',
|
||||
|
|
Loading…
Reference in New Issue
Block a user