Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
由于微信公众号文章存在诸多限制,比如无法应用外部 CSS 等,原先的
-t svg
模板并不能应用于微信公众号图文。因而新增-t wechat-svg
模板。除此之外,升级
js-beautify
依赖至1.14.11
版本,对比此前的1.7.5
版本在 CSS 格式化上会稍有不同,因而对应更新了test/expected
里的 CSS 文件以通过单元测试。最后,
-t canvas
相关的几个单元测试似乎跑不通?