Browse Source

Fix failing tests

* lisp/org.el (org--align-node-property): Fix failing tests.
Nicolas Goaziou 3 years ago
parent
commit
aaa70b90ef
1 changed files with 2 additions and 3 deletions
  1. 2 3
      lisp/org.el

+ 2 - 3
lisp/org.el

@@ -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 ()