Permalink
Browse files

Allow one of more dashes as dividers

  • Loading branch information...
1 parent c50754f commit e2e9d4675a3093e3ffe5ac6f8b9d8ba48f7694d2 @kolber committed Jan 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/page-data.inc.php
View
@@ -195,7 +195,7 @@ static function create_textfile_vars($page) {
$text = preg_replace('/\r\n?/', "\n", $text);
# pull out each key/value pair from the content file
- $matches = preg_split("/\n\s*?-\s*?\n/", $text);
+ $matches = preg_split("/\n\s*?-+\s*?\n/", $text);
foreach($matches as $match) {
# split the string by the first colon

0 comments on commit e2e9d46

Please sign in to comment.