Browse Source

table: `org-table-to-lisp' preserves text properties.

* lisp/org-table.el (org-table-to-lisp): Preserve text properties.
Otherwise, it breaks `org-table-align', which needs to know about
invisible characters.
Nicolas Goaziou 2 months ago
parent
commit
984c7af21f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-table.el

+ 1 - 1
lisp/org-table.el

@@ -5455,7 +5455,7 @@ The table is taken from the parameter TXT, or from the buffer at point."
 	    (if (looking-at "-")
 		(push 'hline table)
 	      (while (not (progn (skip-chars-forward " \t") (eolp)))
-		(push (buffer-substring-no-properties
+		(push (buffer-substring
 		       (point)
 		       (progn (re-search-forward "[ \t]*\\(|\\|$\\)")
 			      (match-beginning 0)))