TinyButStrong - the PHP Template Engine
Categories > TinyButStrong general >

strange problem with [

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs

By: brian
Date: 2013-10-25
Time: 00:20

strange problem with [

I have a variable that contains square brackets
e.g.
$myvar = '[my foo]';
in my html I have
[var.myvar;htmlconv=no;noerr]
for some reason the opening brackets [[ are being coming up in the html source as follows
[my foo]
any reason why the opening brackets are being changed to html enties
I am using TBS Version  : 3.8.1
By: brian
Date: 2013-10-26
Time: 08:23

Re: strange problem with [

any ideas anyone?
By: Skrol29
Date: 2013-10-28
Time: 10:15

Re: strange problem with [

Replied here:

http://www.tinybutstrong.com/support.php#faq_protect

and here:

http://stackoverflow.com/questions/19597162/tinybutstrong-htmlconv-no/19630851#19630851