Fix failing tests
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 2 Sep 2014 10:45:07 +0000 (12:45 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 2 Sep 2014 10:45:07 +0000 (12:45 +0200)
* lisp/org.el (org--align-node-property): Fix failing tests.

lisp/org.el

index f343a69..649808c 100755 (executable)
@@ -22476,9 +22476,8 @@ Alignment is done according to `org-property-format', which see."
          (looking-at org-property-re))
     (replace-match
      (concat (match-string 4)
-            (if (match-string 3)
-                (format org-property-format (match-string 1) (match-string 3))
-              (match-string 1)))
+            (org-trim
+             (format org-property-format (match-string 1) (match-string 3))))
      t t)))
 
 (defun org-indent-line ()