Thread: Product Details
View Single Post
  #3  
Old 04-16-2003, 05:37 AM
 
jgkiefer jgkiefer is offline
 

Advanced Member
  
Join Date: Apr 2003
Posts: 85
 

Default

In product_modify.tpl I forund the code snippet:
Code:
<td valign="top" class=ProductDetails> <textarea name="fulldescr" cols="45" rows="10"> { $product.fulldescr|replace:" ":"\n"|escape:"html"}</textarea> </td>

I want to use html in both the short and long description. Can I safely remove
Code:
|escape:"html"

So I am left with:
Code:
<td valign="top" class=ProductDetails> <textarea name="fulldescr" cols="45" rows="10"> { $product.fulldescr|replace:" ":"\n"}</textarea> </td>
This seems like the solution for allowing html and having the break tag replaced with a space. I just need some assurance that this is correct as I am not sure what all is dependent on this code.
Reply With Quote