http://codereview.appspot.com/5541069/diff/1/tests/com/google/caja/plugin/templates/TemplateCompilerTest.java File tests/com/google/caja/plugin/templates/TemplateCompilerTest.java (right): http://codereview.appspot.com/5541069/diff/1/tests/com/google/caja/plugin/templates/TemplateCompilerTest.java#newcode157 tests/com/google/caja/plugin/templates/TemplateCompilerTest.java:157: htmlFragment(fromString("<a href='foo' target='_self'>hello</a>")), it seems a bit obnoxious that ...
14 years, 5 months ago
(2012-01-17 08:44:32 UTC)
#2
http://codereview.appspot.com/5541069/diff/1/tests/com/google/caja/plugin/templates/TemplateCompilerTest.java File tests/com/google/caja/plugin/templates/TemplateCompilerTest.java (right): http://codereview.appspot.com/5541069/diff/1/tests/com/google/caja/plugin/templates/TemplateCompilerTest.java#newcode157 tests/com/google/caja/plugin/templates/TemplateCompilerTest.java:157: htmlFragment(fromString("<a href='foo' target='_self'>hello</a>")), Done. Also modified HtmlSchema to so ...
14 years, 5 months ago
(2012-01-19 18:07:16 UTC)
#3
http://codereview.appspot.com/5541069/diff/1/tests/com/google/caja/plugin/tem...
File tests/com/google/caja/plugin/templates/TemplateCompilerTest.java (right):
http://codereview.appspot.com/5541069/diff/1/tests/com/google/caja/plugin/tem...
tests/com/google/caja/plugin/templates/TemplateCompilerTest.java:157:
htmlFragment(fromString("<a href='foo' target='_self'>hello</a>")),
Done.
Also modified HtmlSchema to so safeValue is defaultValue if no value is provided
and the defaultValue is safe.
On 2012/01/17 08:44:32, felix8a wrote:
> it seems a bit obnoxious that target=foo gets rewritten to target=_self,
rather
> than target=_blank. how about add
> "safeValue": "_blank"
> to html4-attributes.json?
Snapshot. Added missing case in TemplateSanitizer and added an end-to-end test. Removed unneeded cropping in ...
14 years, 5 months ago
(2012-01-24 01:47:48 UTC)
#7
Snapshot. Added missing case in TemplateSanitizer and added an end-to-end test.
Removed unneeded cropping in formatSelf which is only used for debugging.
On 2012/01/24 01:47:48, Jasvir wrote: > Snapshot. Added missing case in TemplateSanitizer and added an ...
14 years, 5 months ago
(2012-01-24 18:47:02 UTC)
#8
On 2012/01/24 01:47:48, Jasvir wrote:
> Snapshot. Added missing case in TemplateSanitizer and added an end-to-end
test.
> Removed unneeded cropping in formatSelf which is only used for debugging.
lgtm
Issue 5541069: Allow <a> and <area> links to open in the same page rather than a new one
(Closed)
Created 14 years, 5 months ago by Jasvir
Modified 14 years, 5 months ago
Reviewers: felix8a
Base URL: http://google-caja.googlecode.com/svn/trunk/
Comments: 8