Skip to content

style highlight is not right when use <i /> #157

@FuDesign2008

Description

@FuDesign2008

The following code will cause incorrect style highlight

<template> <i class="el-icon-arrow-down el-icon--right" /> </template> <script lang="ts" src="./Test.ts"></script> <style lang="scss" scoped> p {  color: red; } </style> 

WX20210527-175503@2x

If the code is changed with </i>, the style highlight is ok

<template> <i class="el-icon-arrow-down el-icon--right" /> </template> <script lang="ts" src="./Test.ts"></script> <style lang="scss" scoped> p {  color: red; } </style> 

WX20210527-175614@2x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions