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

升级到最新版本,原有限制数字标签出现了问题。 #845

Closed
jiangbin4586 opened this issue Jun 12, 2018 · 2 comments
Closed
Labels

Comments

@jiangbin4586
Copy link

jiangbin4586 commented Jun 12, 2018

升级到最新版以后标签解析出问题了。
<stl:contents channelName="论坛简介" totalNum="1" >
<stl:content type="Content"></stl:content>
<stl:a class="hmc2_m">更多>></stl:a>
</stl:contents>
以上标签能正常解析,但不能限制文章字数.导致更多看不见了。标签没问题。
<stl:contents channelName="论坛简介" totalNum="1" >
<stl:content type="Content" wordNum="150"></stl:content>
<stl:a class="hmc2_m">更多>></stl:a>
</stl:contents>
上面加入了限制字数标签,就不能正常显示了.会把<p style="text-indent: 2em;">等所有html标签都显示出来. 标签有问题,现在需要修复这个问题。
<stl:contents channelName="论坛简介" totalNum="1" >
<stl:content type="Content" wordNum="150" isClearTags="true"></stl:content>
<stl:a class="hmc2_m">更多>></stl:a>
</stl:contents>
加入了去格式,确实正常可以去掉,但就不是原有样式了。标签没问题。

@starlying
Copy link
Contributor

我们确认一下

@guodongme123
Copy link

content标签里wordNum属性确实有这个问题,还没解决

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

No branches or pull requests

3 participants