Snapshot
http://codereview.appspot.com/96079/diff/1/2
File
java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/CajaContentRewriter.java
(right):
http://codereview.appspot.com/96079/diff/1/2#newcode93
Line 93: String origContent = content.getContent();
Ok. The next release of Caja will switch to accepting and outputting
DOM nodes directly.
http://codereview.appspot.com/96079/diff/1/2#newcode102
Line 102: Document doc = content.getDocument();
On 2009/07/22 20:22:18, etnu00 wrote:
These two lines will result yet another parse. content.setContent("")
should be
removed. If a problem occurs when cajoling, handle it (put it in a
finally block
if you want to be really sure).
Done.
http://codereview.appspot.com/96079