commit | 4b1a8a614a2dac205479ad02e0413aba3e7c3092 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Sun Mar 01 10:18:28 2009 -0800 |
committer | Shawn O. Pearce <sop@google.com> | Sun Mar 01 10:18:28 2009 -0800 |
tree | b7e33f3ddcc4c46fbd3e2375712b46d316f9720a | |
parent | e6770374c965bba9ee37dc1991d944e3bcb09267 [diff] |
Fix SafeHtmlBuilder.appendAttribute when the attribute is empty If the attribute currently has no value we want to set it to the supplied value. Previously the code was incorrectly using the empty string in this case, resulting in a chain of append calls producing no output. Signed-off-by: Shawn O. Pearce <sop@google.com>