Commit 001b9fbe authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen Committed by Katsumi Yamaoka
Browse files

lisp/gnus/eww.el (eww-tag-form): Protect against degenerate forms

parent f22255bd
2013-06-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
 
* eww.el (eww-tag-form): Protect against degenerate forms.
* shr.el (shr-expand-url): Expand URLs that start with a slash
correctly.
 
......
......@@ -177,8 +177,9 @@
(shr-ensure-paragraph)
(shr-generic cont)
(shr-ensure-paragraph)
(put-text-property start (1+ start)
'eww-form eww-form)))
(when (> (point) start)
(put-text-property start (1+ start)
'eww-form eww-form))))
(defun eww-tag-input (cont)
(let* ((start (point))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment