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

Trim whitespace from page control line

parent 31e2cd7e
No related branches found
No related tags found
No related merge requests found
......@@ -75,6 +75,7 @@ function getCtrlLine(file) {
ctrl = pageName(file_getname(file));
break;
}
ctrl = truncsp(skipsp(ctrl));
var opts = ctrl.match(/^(.*?)\:/);
if (opts === null || opts.length < 2) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment