TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   Absolute Beginners (http://www.talkphp.com/absolute-beginners/)
-   -   Bit of help with smarty (http://www.talkphp.com/absolute-beginners/3273-bit-help-smarty.html)

Enfernikus 08-22-2008 09:03 PM

Bit of help with smarty
 
Smarty is parsing the html tags and replacing them with the presentable versions what I mean is

Code:

<p>paragraph here</p>
is turned into

Code:

&lt;p&gt;paragraph here&lt;/p&gt;
I've probably been looking in the wrong places, any ideas?

dschreck 08-25-2008 04:45 AM

so that's your entire source?

Just a Paragraph tag and text, and it transforms it?

If that's the case, you could have something configured incorrectly, so maybe you could paste what you're using.

xenon 08-25-2008 05:51 PM

Use html_entity_decode...?

Enfernikus 08-25-2008 10:22 PM

Yes thats the entire source code before and after smarty, Xenon I can't use html_entity_source code, well more out of reason that it would defeat the purpose of smarty then actual inability to do it.

xenon 08-26-2008 06:33 AM

Oh, right. I remember now that I've had exactly the same problem once, only with html from database and/or generated by Xinha/FCK Editor. However, I didn't find any solution, but I believe it has something to do with some php.ini setting, or perhaps even apache's gzip handler. This used to happen on some versions of php 4, not on 5. So, it might aswell be a problem of the build you're using, although I might be wrong about this.


All times are GMT. The time now is 03:58 AM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0