git clone of logicmail with some fixes/features added
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Changed displayContent() call to use raw data instead of a text string, and added a null check to href processing

git-svn-id: https://logicmail.svn.sourceforge.net/svnroot/logicmail/trunk@930 5c734088-3d25-0410-9155-b3c3832efda5

octorian e1f62aba 7199912f

+2 -2
+2 -2
LogicMail_BB60/src/org/logicprobe/LogicMail/ui/BrowserField2Renderer.java
··· 149 149 }; 150 150 manager.add(browserField); 151 151 152 - browserField.displayContent(content.getText(), ""); 152 + browserField.displayContent(content.getRawData(), "text/html", ""); 153 153 154 154 return manager; 155 155 } ··· 162 162 if(node instanceof HTMLAnchorElement) { 163 163 HTMLAnchorElement anchor = (HTMLAnchorElement)node; 164 164 String href = anchor.getHref(); 165 - if(href.regionMatches(true, 0, MAILTO, 0, MAILTO.length()) && href.length() > MAILTO.length()) { 165 + if(href != null && href.regionMatches(true, 0, MAILTO, 0, MAILTO.length()) && href.length() > MAILTO.length()) { 166 166 anchor.setHref(LM_MAILTO + href.substring(7)); 167 167 } 168 168 }