Reviewers: jasvir,

Description:
I was running the example
  bin/cajole_html <(echo '<div style="color:\"></div>')

This failed with a null pointer exception because
CssRewriter.rewriteHistorySensitiveRuleset was lazily creating lists
in a widgy way.

I also changed PluginCompilerMain and Config so that I can run
cajole_html from the command line as in the example above.
Previously, it objected to named pipes.

Please review this at http://codereview.appspot.com/122048

Affected files:
  M     src/com/google/caja/lexer/CharProducer.java
  M     src/com/google/caja/plugin/Config.java
  M     src/com/google/caja/plugin/CssRewriter.java
  M     src/com/google/caja/plugin/PluginCompilerMain.java
  M     tests/com/google/caja/parser/css/CssParserTest.java


Reply via email to