about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/olddoc/news_atom.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/olddoc/news_atom.rb b/lib/olddoc/news_atom.rb
index 6a92b3e..7c63db2 100644
--- a/lib/olddoc/news_atom.rb
+++ b/lib/olddoc/news_atom.rb
@@ -33,7 +33,11 @@ module Olddoc::NewsAtom
           uri = tag_uri(tag[:tag]).to_s
           x.link(rel: "alternate", type: 'text/html', href: uri)
           x.id(uri)
-          x.content(type: :xhtml) { x.pre(tag[:body]) }
+          x.content(type: :xhtml) do
+            x.div(xmlns: 'http://www.w3.org/1999/xhtml') do
+              x.pre(tag[:body])
+            end
+          end
         end # entry
       end # new_tags
     end # feed