Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
Target branch: Please verify that the pull request targets the dev branch.
Description: Provide a concise description of the changes made in this pull request.
Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
Testing: Have you written and run sufficient tests for validating the changes?
Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
If the formula is too long on the mobile side may exceed the scope of the page, hope someone to resolve it!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/4546
**Author:** [@Yanyutin753](https://github.com/Yanyutin753)
**Created:** 8/12/2024
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `Katex`
---
### 📝 Commits (2)
- [`07fd7d2`](https://github.com/open-webui/open-webui/commit/07fd7d20f23165ca6ff65d86199a358681a8cada) 👀 try to fix LaTex
- [`e10f094`](https://github.com/open-webui/open-webui/commit/e10f094a6964eb578190271178cfe127e0ceb18f) 👀 try to fix LaTex
### 📊 Changes
**2 files changed** (+76 additions, -45 deletions)
<details>
<summary>View changed files</summary>
📝 `src/lib/utils/index.ts` (+57 -26)
📝 `src/lib/utils/katex-extension.ts` (+19 -19)
</details>
### 📄 Description
# Pull Request Checklist
### Note to first-time contributors: Please open a discussion post in [Discussions](https://github.com/open-webui/open-webui/discussions) and describe your changes before submitting a pull request.
**Before submitting, make sure you've checked the following:**
- [x] **Target branch:** Please verify that the pull request targets the `dev` branch.
- [x] **Description:** Provide a concise description of the changes made in this pull request.
- [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [x] **Testing:** Have you written and run sufficient tests for validating the changes?
- [x] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
# Changelog Entry
### Description
💄 Fix LaTex in #4490
## Additional Information
- After my tests, all latex formulas can be displayed normally now,but still need to wait for the message to end before rendering in latex
## Screenshots or Videos
https://github.com/user-attachments/assets/6f601075-ee94-4a63-9492-3a22a39077f0
https://github.com/user-attachments/assets/1e4c3f96-ac0a-48d6-96ea-b24cb14ab52d
## Important
### If the formula is too long on the mobile side may exceed the scope of the page, hope someone to resolve it!
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/4546
Author: @Yanyutin753
Created: 8/12/2024
Status: ❌ Closed
Base:
dev← Head:Katex📝 Commits (2)
07fd7d2👀 try to fix LaTexe10f094👀 try to fix LaTex📊 Changes
2 files changed (+76 additions, -45 deletions)
View changed files
📝
src/lib/utils/index.ts(+57 -26)📝
src/lib/utils/katex-extension.ts(+19 -19)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
💄 Fix LaTex in #4490
Additional Information
Screenshots or Videos
https://github.com/user-attachments/assets/6f601075-ee94-4a63-9492-3a22a39077f0
https://github.com/user-attachments/assets/1e4c3f96-ac0a-48d6-96ea-b24cb14ab52d
Important
If the formula is too long on the mobile side may exceed the scope of the page, hope someone to resolve it!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.