diff --git a/src/main/java/com/rometools/opml/io/impl/OPML20Generator.java b/src/main/java/com/rometools/opml/io/impl/OPML20Generator.java index 68dacb9..c87dbfe 100644 --- a/src/main/java/com/rometools/opml/io/impl/OPML20Generator.java +++ b/src/main/java/com/rometools/opml/io/impl/OPML20Generator.java @@ -67,7 +67,8 @@ public class OPML20Generator extends OPML10Generator { retValue = super.generateHead(opml); - final Element docs = new Element("docs", opml.getDocs()); + final Element docs = new Element("docs"); + docs.setText(opml.getDocs()); retValue.addContent(docs); return retValue;