You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BUG描述 | Describe the bug
markdown的代码块编辑器无法识别'$'字符,加上转移符也识别不了,稳定复现。
复现方法 | To Reproduce
以这段BASH代码为例:
while:;do
ping -c 1 $IP> /dev/null
if [ $?-eq 0 ];then:else
count=$(expr $count + 1);fi
sleep 60
if [ $count-ge 2 ];thenecho"$(date) AC Power maybe off, checking again after 3 minutes ! ">>$UPS_LOG
sleep 180
ping -c 1 $IP&>/dev/null
if [ "$?"-eq 0 ];thenecho"$(date) Checkagain, AC Power OK ! ">>$UPS_LOGelseecho"$(date) AC Power is already off, shut down ESXi Now! ">>$UPS_LOG
/bin/shutdown.sh
halt
fielsecontinuefidone
文章发布后,字符'$'全部被忽略。
期望行为 | Expected behavior
希望可以修复,最近才发现,目前全站代码都受到此影响。
截图 | Screenshots
文章写入的实际代码段:
文章发布后的效果:
调试信息 | Debugging info
其他内容 | Additional context
WP Editor.md版本:10.2.1
The text was updated successfully, but these errors were encountered:
BUG描述 | Describe the bug
markdown的代码块编辑器无法识别'$'字符,加上转移符也识别不了,稳定复现。
复现方法 | To Reproduce
以这段BASH代码为例:
文章发布后,字符'$'全部被忽略。
期望行为 | Expected behavior
希望可以修复,最近才发现,目前全站代码都受到此影响。
截图 | Screenshots
文章写入的实际代码段:
文章发布后的效果:
调试信息 | Debugging info
其他内容 | Additional context
WP Editor.md版本:10.2.1
The text was updated successfully, but these errors were encountered: