Jump to content

Recommended Posts

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>

 

Share this post


Link to post
Share on other sites

Bonjour Alexandre,

Ça me génère des \ automatiquement 😐

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More