NetTalk Central

Author Topic: Display html code in 6.40  (Read 4218 times)

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Display html code in 6.40
« on: August 22, 2012, 04:46:01 AM »
hi bruce,
 Here is another problem i have encounter after updating to 6.40 , i have a set of html codes put in a field and display using <!-- Net:x:filename --> which used to work ok but after updating it just prints the code instead. code below

Code: [Select]
<table style="margin-top:20px;margin-left:15px;margin-right:15px;text-align:left">
<tr>
<td style="width:50%;">
<div style="text-align:left;">
 <p style="font-size:20px">Leave us a message.</p>

        <h1><span class="red">Yvonne:</span></h1><p style="font-size:18px">0779 452 4772</p>
        <h1><span class="red">Mike:</span></h1><p style="font-size:18px">0779 452 3737</p>
        <h1><span class="red">Luke:</span></h1><p style="font-size:18px">0191 300 7060</p>



</div>
</td>
<td style="text-align:left;">
<div>
<iframe style="border: #a00c04 3px solid;" width="510" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.co.uk/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=DL1+1RW&amp;aq=&amp;sll=54.528185,-1.51513&amp;sspn=0.007147,0.01502&amp;ie=UTF8&amp;hq=&amp;hnear=Darlington+DL1+1RW,+United+Kingdom&amp;t=m&amp;z=14&amp;ll=54.528185,-1.51513&amp;output=embed"></iframe>
</div>
</td>
</tr>
</table>

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11311
    • View Profile
Re: Display html code in 6.40
« Reply #1 on: August 22, 2012, 05:11:01 AM »
probably related to this;
http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=3824.0

Since I notice your HTML contains an iFrame, which is considered unsafe.
You could add iFrame to the list of allowable tags if you like.

cheers
Bruce

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Re: Display html code in 6.40
« Reply #2 on: August 22, 2012, 05:32:44 AM »
hi bruce thanks for tha , just tried this in the embed piont before parent tagOK


!make iframes save
    case lower(p_tag)
    of 'iframe'
      return true
    end

but still not working

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11311
    • View Profile
Re: Display html code in 6.40
« Reply #3 on: August 22, 2012, 07:40:59 AM »
make a small example and I'll take a look.