Properly escape the subject

Needed to prevent Revert "test" failing.

Using escapeJava in combination with soy's function escapeUri
this properly turned "test" into \"test\" and then escapeUri turns it back
into "test". This properly escapes as for example

Test+Test does not get converted into Test Test now.

Include a new var escapedSubject to make sure this change is compatible
for users workflow, ie no breaking change.

Bug: Issue 8432
Change-Id: Iecd34d826d5ee471dbd247078ab9a99d062cd091
2 files changed
tree: 51d94e5840efff12cd3d618f6b2197354b8f1c6d
  1. .settings/
  2. src/
  3. tools/
  4. .gitignore
  5. bazlets.bzl
  6. BUILD
  7. LICENSE
  8. WORKSPACE