roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject svn commit: r1413374 - /roller/trunk/weblogger-business/src/main/java/org/apache/roller/weblogger/pojos/wrapper/WeblogEntryWrapper.java
Date Sun, 25 Nov 2012 17:08:51 GMT
Author: snoopdave
Date: Sun Nov 25 17:08:51 2012
New Revision: 1413374

URL: http://svn.apache.org/viewvc?rev=1413374&view=rev
Log:
Added missing accessor for searchDescription
See also: https://issues.apache.org/jira/browse/ROL-1947?focusedCommentId=13499628&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13499628

Modified:
    roller/trunk/weblogger-business/src/main/java/org/apache/roller/weblogger/pojos/wrapper/WeblogEntryWrapper.java

Modified: roller/trunk/weblogger-business/src/main/java/org/apache/roller/weblogger/pojos/wrapper/WeblogEntryWrapper.java
URL: http://svn.apache.org/viewvc/roller/trunk/weblogger-business/src/main/java/org/apache/roller/weblogger/pojos/wrapper/WeblogEntryWrapper.java?rev=1413374&r1=1413373&r2=1413374&view=diff
==============================================================================
--- roller/trunk/weblogger-business/src/main/java/org/apache/roller/weblogger/pojos/wrapper/WeblogEntryWrapper.java
(original)
+++ roller/trunk/weblogger-business/src/main/java/org/apache/roller/weblogger/pojos/wrapper/WeblogEntryWrapper.java
Sun Nov 25 17:08:51 2012
@@ -357,7 +357,10 @@ public class WeblogEntryWrapper {
     public String getDisplayContent() {
         return this.pojo.getDisplayContent();
     }
-    
+
+	public String getSearchDescription() {
+        return HTMLSanitizer.conditionallySanitize(this.pojo.getSearchDescription());
+	}
     
     /**
      * this is a special method to access the original pojo.



Mime
View raw message