forked from mirrors/org-mode
org-feed: Fix RSS feed parsing when <item> as attributes
I've RSS feeds with <item foo="bar"> which does not work without that change. Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
c74ecf4387
commit
3308155e23
|
@ -583,7 +583,7 @@ containing the properties `:guid' and `:item-full-text'."
|
||||||
(with-current-buffer buffer
|
(with-current-buffer buffer
|
||||||
(widen)
|
(widen)
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(while (re-search-forward "<item>" nil t)
|
(while (re-search-forward "<item\\>.*?>" nil t)
|
||||||
(setq beg (point)
|
(setq beg (point)
|
||||||
end (and (re-search-forward "</item>" nil t)
|
end (and (re-search-forward "</item>" nil t)
|
||||||
(match-beginning 0)))
|
(match-beginning 0)))
|
||||||
|
|
Loading…
Reference in a new issue