Wstdhz Posted August 21, 2019 Share Posted August 21, 2019 Bonjour, Sur invoice PDF avec le code suivant, l'apostophe de "L'arbre" fait bugger la page. Si j'ajoute un antislash, celui est affiché en plus de l'apostrophe. Une solution svp? <table style="width: 100%;"> <tr> <td style="text-align: center; font-size: 10pt; color: #444; width:100%;"> {$shop_address|escape:'html':'UTF-8'}<br /> {if !empty($shop_phone) OR !empty($shop_fax)} {l s='L'arbre' pdf='true'} {/if} {if isset($free_text)} {$free_text|escape:'html':'UTF-8'}<br /> {/if} </td> </tr> </table> Link to comment Share on other sites More sharing options...
Baba deCode Posted August 21, 2019 Share Posted August 21, 2019 (edited) Salut, essaye {l s="L'arbre" pdf='true'} cordialement Edited August 21, 2019 by Alexandre Carette (see edit history) Link to comment Share on other sites More sharing options...
Wstdhz Posted August 21, 2019 Author Share Posted August 21, 2019 Bonjour Alexandre, Ça me génère des \ automatiquement 😐 Link to comment Share on other sites More sharing options...
Baba deCode Posted August 21, 2019 Share Posted August 21, 2019 essaye sans pdf="true" pour voir... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now