Browse files

Fix another regexp. The site is working again.

  • Loading branch information...
1 parent 7c72c63 commit d7aa46d75ea2158cb0b987b77dfd7e65fcd70d27 @creationix committed Feb 21, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 build.js
View
2 build.js
@@ -18,7 +18,7 @@ var Filters = {
markdown: function (markdown) {
var match;
var props = {};
- while(match = markdown.match(/^([a-z]+):\s*(.*)\s*$/im)) {
+ while(match = markdown.match(/^([a-z]+):\s*(.*)\s*\n/i)) {
var name = match[1].toLowerCase(),
value = match[2];
markdown = markdown.substr(match[0].length);

0 comments on commit d7aa46d

Please sign in to comment.