Problem: the search query does not use _ for spaces when creating a new page
Some checks failed
continuous-integration/drone/push Build is failing

Solution: create a new page with _ for spaces
This commit is contained in:
Peter Stuifzand 2022-01-17 00:50:31 +01:00
parent 1b8b5ff4f6
commit b4a721ffeb

View File

@ -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',