Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FuDesign2008 opened this issue May 27, 2021 · 2 comments
Open

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

FuDesign2008 opened this issue May 27, 2021 · 2 comments

Comments

@FuDesign2008
Copy link

FuDesign2008 commented May 27, 2021

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

@Kogia-sima
Copy link

I'm experiencing exactly same issue.

@ryleyb
Copy link

ryleyb commented Sep 21, 2023

Screenshot 2023-09-21 at 12 37 28 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants