import-html-entry
import-html-entry copied to clipboard
fix: 转换大多数情况中外部css资源中的相对路径为绝对路径,防止404
- 添加了外部css内容处理函数,转换相对路径为绝对路径,防止加载失败。(针对引入外部cdn的情况)
- 添加了对应的单元测试内容
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 81.42%. Comparing base (
ab3e788) to head (2ce721d). Report is 36 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #73 +/- ##
==========================================
+ Coverage 80.76% 81.42% +0.65%
==========================================
Files 3 3
Lines 338 350 +12
Branches 116 118 +2
==========================================
+ Hits 273 285 +12
Misses 59 59
Partials 6 6
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@kuitos 作者您好,请问这个更改OK吗?能否发布到最新版呢