Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

&amp; <- how to remove

Status
Not open for further replies.
Joined
Sep 13, 2005
Posts
2,479
Reaction score
104
Having trouble trying to remove this &amp; from the detail page.

http://www.stivesdirectory.co.uk/detail/link-15.html

There is one too many &amp;

<p class="descr">Accommodation: Bed &amp;amp; Breakfasts</p>

The source code is:

<td width="80%" align="left" valign="top" style="padding:0px 20px 20px 20px;">
{if $category.ID eq 0 and not $list and not $search}
<h1 id="title">{$in_page_title|escape|trim}</h1>
<p class="descr">{$description|escape|trim}</p>
{/if}

I'm baffled!
 
I can't as that comes from the database, thats not code. and it's correct in the db. See the issue?
 
I know what you mean but people submit stuff with & in so it needs to be sorted. Cheers anyway!!
 
It looks like the & sign is being escaped twice.

Try this:

<p class="descr">{$description|trim}</p>
 
Looks like thats cracked it matey. TOP LAD!!! Being trying to sort that for bloomin ages, now to change it on 200 sites. Yay.
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Premium Members

Latest Comments

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom