﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
15093	smart_split behaviour is surprising	Stephen Kelly	nobody	"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""
}}}"	Bug	closed	Template system	1.2	Normal	worksforme			Design decision needed	0	0	0	0	0	0
