Description

I attempted to fix #15092 with a smart_split and noticed that it does not split on unescaped &quot; not surrounded by whitespace.

If this is intentional it should be documented. I don't think any other unit test for templates tries to use a 'corrupt' string like that.
It seems that FilterExpression doesn't accept strings like that anyway, so it should either be documented that they don't work in the template system, or smart_split should be changed.

In [1]: from django.utils.text import smart_split
In [2]: smart_split(' now "j "n" Y"'
...: )
Out[2]: <generator object smart_split at 0xa0f5d74>
In [3]: for a in smart_split(' now "j "n" Y"'): print a
...:
now
"j "n" Y"
In [4]: for a in smart_split(' now "j " n " Y"'): print a
...:
now
"j "
n
" Y"