Page 1 of 1

testing pre release

Posted: Fri Jan 10, 2014 12:37 pm
by Timbalu
Garvin, before release, can we do anything against feed breaking with unicode quotes inside smarty tag entries, while having installed the smartymarkup plugin? See "testentry":

Code: Select all

{assign var=entry value=“testentry”}

Code: Select all

XML-Verarbeitungsfehler: "Junk" nach Dokument-Element
Adresse: http://example.com/master/feeds/index.rss2

Code: Select all

Fatal error:  Uncaught  --> Smarty Compiler: Syntax error in template "smartymarkupplugin:1201898358"  on line 36 "{assign var=entry value=&#8220;testentry&#8221;}<br />"  - Unexpected "&" <-- 
  thrown in /var/www/test/master/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 36

Re: testing pre release

Posted: Fri Jan 10, 2014 2:20 pm
by garvinhicking
What happens where exactly?

I don't think using unicode quotes in {assign} is very good...

Regards,
Garvin

Re: testing pre release

Posted: Fri Jan 10, 2014 2:32 pm
by Timbalu
No, sorry this wasn't clear. I did not put them into.
I just had some more tests and it became an issue of installed textile plugin.

Solution: You need to place smartymarkup (like emoticate) before textile in pluginlist :!: