WebSite X5Help Center

 
Brian H.
Brian H.
User

In v16 when I add HTML code to a Text Object they don't work correctly  en

Autore: Brian H.
Visite 891, Followers 1, Condiviso 0  

When I add HTML code to a Text Object using the "enable HTML code" facility, it doesn't work when exported.  Instead of displaying the correct HTML "<>" tags, it converts them to ASCII code, eg, &lt; and &gt;.

As a result, instead of activating the HTML correctly it prints out the code in ASCII format as follows:

<div class="mech">abcdefgh etc </div>

Can you please provide a solution to ensure that HTML code is displayed correctly.

Sample enclosed.

Thanks

Postato il
1 RISPOSTE
Esahc ..
Esahc ..
Moderator

Brian, on rare occasions I have used this, but the trick is to ensure that before typing/inserting any html code, the "enable html code" button must be active. When it is there will be a light blue square around it. Any html written when in this state will display correctly in preview and online (but will be visible as ascii text in compose mode whether active or not). If the code fragment is faulty, you will see it as ascii text when online or preview.

Leggi di più
Postato il da Esahc ..