alex_bn_lee

导航

[904] docxtpl cannot render less than sign (<)

ref: Cannot render less than sign #447

If the content includes the less than sign (<) or larger than sign (>), it cannot be updated in the Word document.

The solution is simple, just like this:

render(context, autoescape=True)

 

posted on 2023-10-11 08:04  McDelfino  阅读(6)  评论(0编辑  收藏  举报