我有一个这样的片段调用:
[!mysnippet?&content=`[*content*]` !]
会发生什么,如果我发送一些像这样的 html:
[!mysnippet?&content=`<p color='red'>Yeah</p>` !]
它会返回这个:
<p colo
[仅测试] 代码段 (mysnippet) 是:
<?php
return $content;
?>
为什么会这样?我的实际片段是将 html 转换为 pdf,所以我真的需要这个。
谢谢大家 ;D
编辑:我正在使用 Modx Evo 1.0.2