-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
🐛 fix: Extra Backslash in Code Blocks ($0 -> /$0) #177
Conversation
…gle line code blocks
👍 @sxjeru |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #177 +/- ##
=========================================
+ Coverage 0.00% 0.18% +0.18%
=========================================
Files 330 354 +24
Lines 22325 23786 +1461
Branches 330 367 +37
=========================================
+ Hits 0 43 +43
- Misses 21995 23390 +1395
- Partials 330 353 +23 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
加个单测用例吧,不然无法确保变更不会影响其他case
❤️ Great PR @sxjeru ❤️ |
### [Version 1.146.5](v1.146.4...v1.146.5) <sup>Released on **2024-07-08**</sup> #### 🐛 Bug Fixes - **misc**: Extra Backslash in Code Blocks ($0 -> /$0), highlighter scroll bugs. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Extra Backslash in Code Blocks ($0 -> /$0), closes [#177](#177) ([f77df56](f77df56)) * **misc**: Highlighter scroll bugs, closes [#178](#178) ([079bc9a](079bc9a)) </details> <div align="right"> [](#readme-top) </div>
🎉 This PR is included in version 1.146.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
### [Version 1.18.2](v1.18.1...v1.18.2) <sup>Released on **2024-07-08**</sup> #### 🐛 Bug Fixes - **misc**: Extra Backslash in Code Blocks ($0 -> /$0), highlighter scroll bugs. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Extra Backslash in Code Blocks ($0 -> /$0), closes [lobehub#177](https://github.com/bentwnghk/lobe-ui/issues/177) ([f77df56](f77df56)) * **misc**: Highlighter scroll bugs, closes [lobehub#178](https://github.com/bentwnghk/lobe-ui/issues/178) ([079bc9a](079bc9a)) </details> <div align="right"> [](#readme-top) </div>
* Update utils.ts * fix: Update escapeDollarNumber function to handle code blocks and single line code blocks * Create utils.test.ts * Update utils.test.ts
### [Version 1.146.5](lobehub/lobe-ui@v1.146.4...v1.146.5) <sup>Released on **2024-07-08**</sup> #### 🐛 Bug Fixes - **misc**: Extra Backslash in Code Blocks ($0 -> /$0), highlighter scroll bugs. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's fixed * **misc**: Extra Backslash in Code Blocks ($0 -> /$0), closes [lobehub#177](lobehub#177) ([f77df56](lobehub@f77df56)) * **misc**: Highlighter scroll bugs, closes [lobehub#178](lobehub#178) ([079bc9a](lobehub@079bc9a)) </details> <div align="right"> [](#readme-top) </div>
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
fix lobehub/lobe-chat#3147
📝 补充信息 | Additional Information