Skip to content
Snippets Groups Projects
Commit 64c382e3 authored by echicken's avatar echicken :chicken:
Browse files

Trim whitespace from page control line

parent bf720e1d
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -75,6 +75,7 @@ function getCtrlLine(file) { ...@@ -75,6 +75,7 @@ function getCtrlLine(file) {
ctrl = pageName(file_getname(file)); ctrl = pageName(file_getname(file));
break; break;
} }
ctrl = truncsp(skipsp(ctrl));
var opts = ctrl.match(/^(.*?)\:/); var opts = ctrl.match(/^(.*?)\:/);
if (opts === null || opts.length < 2) { if (opts === null || opts.length < 2) {
......
  • Maintainer

    I prefer to not commit single whitespace changes as a pattern.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment