【发布时间】:2014-10-28 19:00:14
【问题描述】:
我对 PHPWord 中的 setValue() 函数有疑问。通常,参数应该是纯文本变量,但在这种情况下,我必须处理一个 html 块。并且 PHPWord 无法将 html 标签解析为 word xml。
我的意思是替换这个html:
进入Word模板:
要像这样输出:
有什么解决办法吗?
【问题讨论】:
-
您找到解决方案了吗?
标签: javascript php xml codeigniter phpword