From 2a77ec8d4f7023dfc7694be4e744d7718766b289 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Wed, 25 Jul 2012 22:11:54 -0400 Subject: [PATCH] Support double-indentation --- static/js/potd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/potd.js b/static/js/potd.js index 67286db..7db5558 100644 --- a/static/js/potd.js +++ b/static/js/potd.js @@ -88,7 +88,7 @@ function parse_list_file_name(data) { } var filenames = []; - var regexp = /\*\s*\[\[:File:(.*?)\]\]/g; + var regexp = /\*\*?\s*\[\[:File:(.*?)\]\]/g; while ((match = regexp.exec(content)) !== null) { filenames.push(match[1]); }