1 (edited by dawiyhd 2008-07-26 13:03:12)

Topic: Src is stripped out of img tags?

I tried as many options as I can think of.

<img src="i.gif" /> is replaced with <img src="" alt="image" />

OR

<img src="boat.gif" alt="Big Boat"> is replaces with <img src="" alt="" />

Am I missing something or does image not work?

2

Re: Src is stripped out of img tags?

It appears that the problem is specific to your htmLawed installation. E.g., I get the expected result on the htmLawed demo site.

Could this be a 'stripslashes' issue? From the documentation:

Note: If input is from a $_GET or $_POST value, and magic quotes are enabled on the PHP setup,
run stripslashes() on the input before passing to htmLawed.