Explicitly escape for "unsafe" mode in definevar.

Review Request #11953 — Created Jan. 21, 2022 and submitted

david
Djblets
release-3.x
djblets

Our definevar tag was relying on str being treated as unsafe strings,
but in the test suite that seems to no longer be the case for template
tags (though I'm not finding much in the documentation about this). This
change updates it to explicitly call escape instead of relying on the
type-checking deeper down.

Ran unit tests.

Summary
Explicitly escape for "unsafe" mode in definevar.
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.x (0570b0e)
Loading...