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>
1 file changed
tree: b7e33f3ddcc4c46fbd3e2375712b46d316f9720a
  1. .settings/
  2. src/
  3. .gitignore
  4. COPYING
  5. pom.xml