Quote:
|
Originally Posted by omegatron try changing lines 228-233 in showproduct.php from this
$extra1 = convert_markups( $extra1 ); $extra1 = convert_returns( $extra1 );
$extra2 = convert_markups( $extra2 ); $extra2 = convert_returns( $extra2 );
$extra3 = convert_markups( $extra3 ); $extra3 = convert_returns( $extra3 );
$extra4 = convert_markups( $extra4 ); $extra4 = convert_returns( $extra4 );
$extra5 = convert_markups( $extra5 ); $extra5 = convert_returns( $extra5 );
$extra6 = convert_markups( $extra6 ); $extra6 = convert_returns( $extra6 );
to this
$extra1 = convert_markups( stripslashes($extra1) ); $extra1 = convert_returns( $extra1 );
$extra2 = convert_markups( stripslashes($extra2) ); $extra2 = convert_returns( $extra2 );
$extra3 = convert_markups( stripslashes($extra3) ); $extra3 = convert_returns( $extra3 );
$extra4 = convert_markups( stripslashes($extra4) ); $extra4 = convert_returns( $extra4 );
$extra5 = convert_markups( stripslashes($extra5) ); $extra5 = convert_returns( $extra5 );
$extra6 = convert_markups( stripslashes($extra6) ); $extra6 = convert_returns( $extra6 ); |
That fixes it, for example, in the category description field where I was having the problem (at least now no slashes are shown before commas). However, every time the category is edited, more slashes get inserted so that "john\'s wares" on the next edit becomes "john\\'s wares" then "john\\\'s wares" etc. Just a minor annoyance that on each edit i have to clear out the slashes...