* lisp/net/shr.el (shr-mark-fill, shr-insert-table): Fix problems
when block-quoting/<li>-ing a table -- the indentation/prefix was
inserted twice (bug#32277).
(defun shr-mark-fill (start)
;; We may not have inserted any text to fill.
- (unless (= start (point))
+ (when (and (/= start (point))
+ (not (get-text-property start 'shr-table-id)))
(put-text-property start (1+ start)
'shr-indentation shr-indentation)))
(setq max (max max (nth 2 column))))
max)))
(dotimes (_ (max height 1))
- (shr-indent)
+ (when (bolp)
+ (shr-indent))
(insert shr-table-vertical-line "\n"))
(dolist (column row)
(when (> (nth 2 column) -1)