Permalink
Browse files

Ignore trailing whitespace on metadata values.

Refs: #1103
  • Loading branch information...
1 parent 724e200 commit 2ae000e8badad6f284bd35395e3b2713816e317c @arantius arantius committed Jul 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 content/config.js
View
@@ -149,7 +149,7 @@ Config.prototype.parse = function(source, uri, updateScript) {
if (match === null) continue;
var header = match[1];
- var value = match[2];
+ var value = match[2].replace(/\s+$/, '');
if (!value) {
switch (header) {

0 comments on commit 2ae000e

Please sign in to comment.