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

在html代码块的<script>标签中的js代码tab_replace会失效 #4726

Closed
sxiong5 opened this issue Jun 28, 2021 · 0 comments · Fixed by hexojs/hexo-util#260
Closed

在html代码块的<script>标签中的js代码tab_replace会失效 #4726

sxiong5 opened this issue Jun 28, 2021 · 0 comments · Fixed by hexojs/hexo-util#260
Labels
bug Something isn't working resolved

Comments

@sxiong5
Copy link

sxiong5 commented Jun 28, 2021

md文件中代码块如下
image
但是在文章中,只有 <script></script> 之外的html代码的 \t 会被替换成指定字符, <script></script> 之内的js代码则不会被替换缩进字符。
image

但是单独设置javascript代码块可以正常替换
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working resolved
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants