Skip to content

fix: 修复微信skyline标签和h5标签命名冲突时, taro默认使用小程序标签渲染. 但是项目可能没有开启skyline模式, 导致渲染html模版字符串异常#18536

Open
lupingW wants to merge 1 commit into
NervJS:mainfrom
lupingW:skyline-span

fix: skyline标签和h5原生标签命名冲突导致解析html字符串模板异常

d970cd7
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 5, 2026 in 0s

55.97% (target 75.00%)

View this Pull Request on Codecov

55.97% (target 75.00%)

Details

Codecov Report

❌ Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 55.97%. Comparing base (8ff04a2) to head (d970cd7).
⚠️ Report is 53 commits behind head on main.

Files with missing lines Patch % Lines
...taro-runtime/src/dom-external/inner-html/parser.ts 66.66% 2 Missing ⚠️

❌ Your project check has failed because the head coverage (55.97%) is below the target coverage (75.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #18536      +/-   ##
==========================================
- Coverage   55.97%   55.97%   -0.01%     
==========================================
  Files         416      416              
  Lines       21560    21564       +4     
  Branches     5264     5307      +43     
==========================================
+ Hits        12069    12071       +2     
+ Misses       7907     7876      -31     
- Partials     1584     1617      +33     
Files with missing lines Coverage Δ
...taro-runtime/src/dom-external/inner-html/parser.ts 78.91% <66.66%> (-0.81%) ⬇️

... and 8 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.