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
请问可以解析html标签吗? #219
Comments
你好,暂时不支持解析,但的确是个好想法 |
我在网上找了一个解析html内容的插件,不知道是否需要。 |
请问可否共享呢?目前自己解析的,感觉会有问题。有完善的插件最好。 |
找到一种结果很完美的解决办法。 Document doc = new Document(); 最后把 OutputStream 转为 InputStream 供 new DocxRenderData() 使用。 |
我搞不懂转为inputStream后怎么使用 |
写了个插件,因为引入了一些依赖,不适于通过pull request提交,作为一个扩展包。 |
Sayi您好:
现在这版本貌似不支持html的标签解析,比如p标签,u 标签,sup 标签等。如果内容里面包含html格式,则生成的word也是带有这些标签无法解析的。
另外,比如一个{{content}},它的值是“巴拉巴拉巴拉 u 下划线 /u "这种,我看通过Style设置的是完整的content的值,而不是'u'标签内的值,请问这种怎么处理呢?
The text was updated successfully, but these errors were encountered: