You need to be logged in to get access to the forums. You can do so here
| 作者 | 信息 |
|---|---|
|
陈 明星
|
星期二, 2007年 六月 05日 7:25:38 am Error Line 165, column 17: end tag for "p" omitted, but OMITTAG NO was specified W3C认证时得到上面的错误,发现是shorten的原因,不知道是不是ezp的bug,如果shorten的是XML块的话,超过shorten字数后后面就没有了</p>结束。 我的解决办法: <code> {let counts=$child.data_map.body.content.output.output_text|count_chars() shortenchars=600} {$child.data_map.body.content.output.output_text|shorten($shortenchars)} {if ge($counts,$shortenchars)}</p>{/if} {/let} </code> |
|
Michael Lee
|
星期三, 2007年 十二月 05日 10:17:35 am 可以试试这个extension: http://projects.ez.no/xmlwash 上海众森计算机科技有限公司|ZerusTech Ltd eZ publish中国首个银牌合作伙伴 自2005年开始eZ publish开发 http://www.zerustech.com Michael Lee | Managing Director | michael.lee@zerustech.com | Skype: zerustech |