PDA

View Full Version : Description showing html tags


loriann1100
07-14-2009, 08:08 PM
Hello
I am looking for help! When I post my description to my links I am seing html tags surrounding my text. I can't figure out why these are showing up or where to go to edit the template. Here is an example of what I am seeing, I put the tags that are appearing in red.

<p> <pre>Maintained by the CIA, this is a searchable world fact book. Search by country or location. Information includes: maps, geography, people, government, economy, communications, transportation, military and transnational issues</pre> </p>..

<p> <pre>A not for profit organization that provides antitrust resources: cases and issues in the news, statutes, legislation, court decisions, info about mergers as well as a database of searchable articles. </pre> <div><span><br /></span></div> </p>..

Here is a link to the actual page that this is coming from.
keycounsel.com/Business__Finance___Investment/
Any help would be greatly appreciated. This make the pages really hard to someone to read.
thanks,
Lori

James
07-14-2009, 08:11 PM
in your link.tpl


find
|escape

remove it

loriann1100
07-14-2009, 09:09 PM
Thanks, I found it and removed |escape. Should it repair all of the desriptions that I have already posted? It did not.

James
07-14-2009, 11:10 PM
It should ...... did you make sure you removed them all?

loriann1100
07-15-2009, 05:01 PM
That worked, Thanks! Now I see another issue!! My descriptions lost all formatting and are running across the page in one line. Where can I go to insert my description formatting. I want to use and Ariel font, size 3 or 12pt, left justified?

loriann1100
07-17-2009, 08:07 PM
Content visible to registered users only.
Can you help me with another issue? Your last tip helped me remover the HTML tags in my descriptions but that seems to have caused another issue. My descriptions lost all formatting and are running across the page in one line. Where can I go to insert my description formatting. I hope I don't have to go in and format each description I have already entered! I want to use and Ariel font, size 3 or 12pt, left justified?
thanks!

James
07-17-2009, 08:34 PM
look in the source code is there a <pre in it?

loriann1100
07-17-2009, 08:45 PM
Content visible to registered users only.
I don't see a <pre anywhere. I looked in the link.tpl. Here is what I have:
{strip}
<table border="0" class="regular"><tr>
<td width="15%" align="center" style="padding:5px;"> <img style="border:1px solid #CCCCCC;" src="REMOVED LINK HERE}" align=absmiddle border="1" width="90" height="70" alt="{$link.TITLE}" />
<td valign="top">
<div>
<a id="id_{$link.ID}" href="{$link.URL|trim}" title="{$link.TITLE|trim}"
{* nofollow *}
{if $link.NOFOLLOW or ($link.RECPR_VALID eq 0 and ($smarty.const.RECPR_NOFOLLOW eq 2 or ($smarty.const.RECPR_NOFOLLOW eq 1 and $link.RECPR_REQUIRED eq 1)))} rel="nofollow"{/if}
{if $smarty.const.ENABLE_BLANK} target="_blank"{/if}>
{$link.TITLE|trim}</a>
</div>
<p class="r-url">{$link.URL|trim}</p>
<p>{$link.DESCRIPTION|trim}..&nbsp;
[<a style="font-weight:normal;" href="{if !$smarty.const.ENABLE_REWRITE}
{$smarty.const.DOC_ROOT}/detail.php?id={$link.ID}
{else}
{$smarty.const.DOC_ROOT}/detail/link-{$link.ID}.html{/if}" title="{l}Read more about{/l}: {$link.TITLE|trim}">{l}Read&nbsp;more{/l}
</a>]
</p>

{if !empty ($search) or !empty ($uid)}
<p>{l}Category{/l}: <a href="{$smarty.const.DOC_ROOT}/{$link.CATEGORY_URL|trim}" title="{$link.CATEGORY_TITLE|trim}">{$link.CATEGORY_TITLE|trim}</a></p>
{/if}

{* show page rank *}
<div>
{if $smarty.const.SHOW_PAGERANK}
{include file="pagerank.tpl" pr=$link.PAGERANK}
{/if}
</div><br />
</td>
</tr>
</table>
{/strip}

James
07-17-2009, 10:43 PM
no source code of the page that has the problem ... :)