LUCENE-4008: Add missing $

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329057 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2012-04-23 04:24:35 +00:00
parent 84bb947bab
commit b3ead811c3
1 changed files with 1 additions and 1 deletions

View File

@ -1536,7 +1536,7 @@ ${tests-output}/junit4-*.suites - per-JVM executed suites
var markdownSource = self.getToken();
var title = undefined;
// match the first heading in markdown and use as title:
if (markdownSource.search(/^#+\s*(.+)/m) >= 0) {
if (markdownSource.search(/^#+\s*(.+)$/m) >= 0) {
title = RegExp.$1;
}
var processor = new PegDownProcessor(