flake8
passed.
JSHint
passed.
Review Request #9051 — Created July 4, 2017 and submitted
The
{% attr %}
template tag now strips whitespace at the beginning and
end of the value. It used to do this when considering the contents, but
then preserved the whitespace when injecting it into the value. Since
it's unlikely callers (which tend to use this for CSS class names) want
to retain leading/trailing whitespace for rendered values, the
whitespace is no longer preserved.
Unit tests pass.