Browse Source

Support double-indentation

pull/24/head
Ben Kurtovic 12 years ago
parent
commit
2a77ec8d4f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      static/js/potd.js

+ 1
- 1
static/js/potd.js View File

@@ -88,7 +88,7 @@ function parse_list_file_name(data) {
} }


var filenames = []; var filenames = [];
var regexp = /\*\s*\[\[:File:(.*?)\]\]/g;
var regexp = /\*\*?\s*\[\[:File:(.*?)\]\]/g;
while ((match = regexp.exec(content)) !== null) { while ((match = regexp.exec(content)) !== null) {
filenames.push(match[1]); filenames.push(match[1]);
} }


Loading…
Cancel
Save