Revision: 3752
Author: [email protected]
Date: Fri Sep 25 14:52:42 2009
Log: Bug 499: misleading comment in RewriteHtmlStage.java
http://codereview.appspot.com/125042

From http://code.google.com/p/google-caja/issues/detail?id=499
    comment at top says "extracts {...@code onclick} and other handlers,"
    but it looks like that currently happens at a later stage.

Yes.  That happens in the TemplateCompiler.

[email protected]

http://code.google.com/p/google-caja/source/detail?r=3752

Modified:
 /trunk/src/com/google/caja/plugin/stages/RewriteHtmlStage.java

=======================================
--- /trunk/src/com/google/caja/plugin/stages/RewriteHtmlStage.java Mon Jun 1 16:50:26 2009 +++ /trunk/src/com/google/caja/plugin/stages/RewriteHtmlStage.java Fri Sep 25 14:52:42 2009
@@ -62,9 +62,9 @@

 /**
  * Extract some unsafe bits from HTML for processing by later stages.
- * Specifically, extracts {...@code onclick} and other handlers, the contents of
- * {...@code <script>} elements, and the contents of {...@code <style>} 
elements,
- * and the content referred to by {...@code <link rel=stylesheet>} elements.
+ * Specifically, extracts the contents of {...@code <script>} elements,
+ * and the contents of {...@code <style>} elements, and the content
+ * referred to by {...@code <link rel=stylesheet>} elements.
  *
  * <p>
* This stage is not responsible for producing a safe tree. It is only meant to

Reply via email to