Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TemplateProcessor 生成的docx 模板有 '< '、‘&’ 特殊 字符,无法打开word 解决方案 #2238

Closed
raybon-lee opened this issue Jun 6, 2022 · 0 comments

Comments

@raybon-lee
Copy link

模板转docx 文件有特殊字符问题
// use PhpOffice\PhpWord\Settings;
Settings::setOutputEscapingEnabled(true);

无论是生成word 还是 使用 模板解析,都能正常工作

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant