ranlt / smarty-php

Automatically exported from code.google.com/p/smarty-php
0 stars 0 forks source link

Smarty debug console crashes if one of variables contain unicode 8232 character #173

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If any of smarty variables contain unicode 8232 character, smarty debug console 
crashes. Chrome (and other webkit-based browsers) report it as "Unexpected 
token ILLEGAL", Firefox complains on non-terminated string.

Unicode 8232 character is "
" in html.

http://www.fileformat.info/info/unicode/char/2028/index.htm
http://www.charbase.com/2028-unicode-line-separator

Original issue reported on code.google.com by unx...@gmail.com on 30 Jan 2014 at 1:12

GoogleCodeExporter commented 9 years ago
I was not able to reproduce the problem.

Which charset did you set up as Smarty charset $_CHARSET ?

Original comment by Uwe.Tews@googlemail.com on 4 Apr 2014 at 11:32