Skip to content

Commit a2319e1

Browse files
author
Jason Duncan
committed
I blame C-q C-j for this one.
1 parent 06b1055 commit a2319e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.#TODO.org

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

format-table.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,7 @@ otherwise values will be padded to the right with spaces."
244244
"Parse the given string STR using delimiter information in INPUT-MODE to a table of values as a plist."
245245
(if (equal input-mode 'json)
246246
(format-table-parse-json str)
247-
(let* ((lines (split-string str "[
248-
]+"))
247+
(let* ((lines (split-string str "[\n]+"))
249248
(lines (format-table-remove-noise lines input-mode)))
250249
(when lines
251250
(let* ((col-widths (format-table-get-col-widths (car (cdr lines)) input-mode)))

0 commit comments

Comments
 (0)