I wanted to use line breaks ('paragraphs') in my detailed view, somewhere I found a thread that told me to do this: in site_html_detailed (in either site_html.pl or site_html_templates.pl depending on whether you are using templates or not), add:
$rec{'Details'} =~ s/\n/<br>/g;
to change all line feeds to html line break tags.
This works fine BUT... I want best of both worlds. I need a code line to check if we find a <br> or <BR> or <P> or <p> then we do not do the above code and proceed as usuall. Could anyone tell me what that code might look like.
Thanks
Tim Ryan
$rec{'Details'} =~ s/\n/<br>/g;
to change all line feeds to html line break tags.
This works fine BUT... I want best of both worlds. I need a code line to check if we find a <br> or <BR> or <P> or <p> then we do not do the above code and proceed as usuall. Could anyone tell me what that code might look like.
Thanks
Tim Ryan