-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Description
Hi,
How can i put long text with many line break in phpword?
is it possible to use str_replace function to replace " \r\n " with any meaningful xml tag?
//$text is long text with many linebreaks
$text = str_replace("\r\n",'<w:br/>',$text);
$section->addText($text);
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Metadata
Metadata
Assignees
Labels
No labels