fix: 使用innerHTML赋值后转小程序时,a标签转view标签+img转image标签时,把width和height写入style属性【latest】 #16781
25.00% of diff hit (target 58.52%)
View this Pull Request on Codecov
25.00% of diff hit (target 58.52%)
Annotations
Check warning on line 135 in packages/taro-runtime/src/dom-external/inner-html/parser.ts
codecov / codecov/patch
packages/taro-runtime/src/dom-external/inner-html/parser.ts#L132-L135
Added lines #L132 - L135 were not covered by tests
Check warning on line 137 in packages/taro-runtime/src/dom-external/inner-html/parser.ts
codecov / codecov/patch
packages/taro-runtime/src/dom-external/inner-html/parser.ts#L137
Added line #L137 was not covered by tests
Check warning on line 139 in packages/taro-runtime/src/dom-external/inner-html/parser.ts
codecov / codecov/patch
packages/taro-runtime/src/dom-external/inner-html/parser.ts#L139
Added line #L139 was not covered by tests
Check warning on line 142 in packages/taro-runtime/src/dom-external/inner-html/parser.ts
codecov / codecov/patch
packages/taro-runtime/src/dom-external/inner-html/parser.ts#L142
Added line #L142 was not covered by tests