зеркало из https://github.com/mozilla/gecko-dev.git
Bug 375215 - FeedWriter fails for feeds with text/html content type
p=Wladimir Palant <trev@gtchat.de>r=sayrer/mano
This commit is contained in:
Родитель
5b76b5aeba
Коммит
693887e57a
|
@ -340,7 +340,8 @@ FeedWriter.prototype = {
|
|||
else
|
||||
LOG("no base?");
|
||||
docFragment = summary.createDocumentFragment(body);
|
||||
body.appendChild(docFragment);
|
||||
if (docFragment)
|
||||
body.appendChild(docFragment);
|
||||
|
||||
// If the entry doesn't have a title, append a # permalink
|
||||
// See http://scripting.com/rss.xml for an example
|
||||
|
|
Загрузка…
Ссылка в новой задаче