set the docs url as the content of the element instead of its namespace

This commit is contained in:
Jeremie Panzer 2015-03-10 08:28:26 +01:00
parent 74b85d9a2c
commit c47ec5fa9e

View file

@ -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;