Jump to content

Infowindow show text without html tag


Adriano Altorio

Recommended Posts

Hi Alejandro

 

following your old suggestion about field insertion i have inserted the summary listing text (part of it) in the infowindow.

 

How can i show only text without html tag? Somenthing like innerText.

 

I have used 

 

'tsum'  => substr($listing['Listing']['summary'],0,160), in the   $payload[$i] array

 

and

 

{{#tsum}}

            {{tsum}}
{{/tsum}}
 

 in the map-json.

 

Thanks

Adriano

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...