summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/feeds/history_atom.rxml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/feeds/history_atom.rxml b/app/views/feeds/history_atom.rxml
index 9d82ef606..8c01fe4ed 100644
--- a/app/views/feeds/history_atom.rxml
+++ b/app/views/feeds/history_atom.rxml
@@ -16,7 +16,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
xml.author { xml.name journal.user.name }
xml.summary journal.notes
xml.content "type" => "html" do
- xml.text! journal.notes
+ xml.text! journal.notes if journal.notes
xml.text! "<ul>"
journal.details.each do |detail|
xml.text! "<li>" + show_detail(detail, false) + "</li>"