0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 22:07:49 +00:00

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:
Julien Danjou 2010-06-22 20:26:56 +00:00 committed by Carsten Dominik
parent c74ecf4387
commit 3308155e23

View file

@ -583,7 +583,7 @@ containing the properties `:guid' and `:item-full-text'."
(with-current-buffer buffer
(widen)
(goto-char (point-min))
(while (re-search-forward "<item>" nil t)
(while (re-search-forward "<item\\>.*?>" nil t)
(setq beg (point)
end (and (re-search-forward "</item>" nil t)
(match-beginning 0)))