Welcome Guest, Not a member yet? Register   Sign In
Text coming back formatted different.
#6

[eluser]Aken[/eluser]
The TRUE parameter of $this->input->post() is saying "run this through xss_clean() before giving it to me". You're now doing it twice, as opposed to none at all. Maybe consider a third-party library to sanitize the HTML, rather than utilizing xss cleaning and such. XSS cleaning, while great for security, can really mess with your code if you're trying to use complicated things like HTML.

You might even consider a different type of markup language, like Markdown for instance.

I hate WYSIWYG editors, because they all fudge up markup like crazy and they're horrible intuitive. Not that that helps you at all, but yeah.


Messages In This Thread
Text coming back formatted different. - by El Forum - 09-06-2012, 09:11 PM
Text coming back formatted different. - by El Forum - 09-06-2012, 10:28 PM
Text coming back formatted different. - by El Forum - 09-07-2012, 06:06 AM
Text coming back formatted different. - by El Forum - 09-07-2012, 07:44 AM
Text coming back formatted different. - by El Forum - 09-07-2012, 09:07 AM
Text coming back formatted different. - by El Forum - 09-07-2012, 03:02 PM
Text coming back formatted different. - by El Forum - 09-07-2012, 07:20 PM
Text coming back formatted different. - by El Forum - 09-07-2012, 07:29 PM
Text coming back formatted different. - by El Forum - 09-07-2012, 08:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB