Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b43ac6f

Browse files
committed
replace underscore
1 parent d43bdae commit b43ac6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/categoryScan.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function getPages(con, allPages, toDo, depth, namespace) {
1515
toDo = [];
1616
for (let result of results) {
1717
if (result.page_namespace == namespace) {
18-
allPages.push(result.page_title.toString("utf8"));
18+
allPages.push(result.page_title.toString("utf8").replace(/_/g, " "));
1919
}
2020
if (result.page_namespace == 14) {
2121
toDo.push(result.page_title.toString("utf8"));

0 commit comments

Comments
 (0)