View Single Post
  #1  
Old 09-09-2006, 08:12 AM
 
musiclc musiclc is offline
 

Member
  
Join Date: Aug 2006
Posts: 11
 

Red face Any issues with 'white space' in .tpl's or OK?

Hi,

I'd like to 're-flow' some of the .tpl scripts so they are more readable to me. Has anyone run across any issues with having white space between tags (using a good script/text editor)?

For instance, this is current display:

<TR><TD colspan="2">&nbsp;</TD></TR>
{if $active_modules.Product_Options ne ""}
{ include file="modules/Product_Options/customer_options.tpl"}
{/if}
<TR>

I'd like to have (the underscores would be spaces):

<TR><TD colspan="2">&nbsp;</TD></TR>

_____{if $active_modules.Product_Options ne ""}
__________{ include file="modules/Product_Options/customer_options.tpl"}
_____{/if}

<TR>

Thanks!
__________________
Version 4.1.2
Reply With Quote