Skip to content

Commit

Permalink
[fix] style attr disables innerHTML optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
tivac committed Mar 24, 2022
1 parent 3c83b59 commit e7b61b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compiler/compile/render_dom/wrappers/Element/index.ts
Expand Up @@ -219,6 +219,7 @@ export default class ElementWrapper extends Wrapper {
node.classes.length > 0 ||
node.intro || node.outro ||
node.handlers.length > 0 ||
node.styles.length > 0 ||
this.node.name === 'option' ||
renderer.options.dev
) {
Expand Down

0 comments on commit e7b61b4

Please sign in to comment.