Browse files

applied patch from Daan de Wit to properly add text content (in opens…

…earch)
  • Loading branch information...
1 parent a493a8f commit cd4493f7a0c237299c77990b6c92b1532e359de9 @bricas bricas committed Jun 19, 2008
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/net/lucenews/opensearch/OpenSearchText.java
View
2 src/net/lucenews/opensearch/OpenSearchText.java
@@ -181,6 +181,8 @@ public Element asElement (Document document, OpenSearch.Format format, OpenSearc
catch (TransformerException te) {
throw new OpenSearchException(te.getMessage());
}
+ } else if (getType().equals("text")) {
+ element.appendChild(document.createTextNode(content_string));
}

0 comments on commit cd4493f

Please sign in to comment.