Quantcast
Channel: PHPWord
Viewing all articles
Browse latest Browse all 450

New Post: Template setValue with caractère "&" - File corrupt

$
0
0
hi,
I'm sorry for my first reply.

htmlentities resolve the problem with "&" but when you have "é" or other accented letter, the output from the page is corrupt.

I find only the problem with "&" and not with an other special caractere...

I propose this solution :
$client = str_replace("&", "&","Ben&Nuts");

Viewing all articles
Browse latest Browse all 450

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>