Bug Summary:
The AI-generated output contains dollar amounts, but they are being incorrectly rendered with LaTeX-style formatting (e.g., $740 for $5 million is rendered as 740for5 million in LaTeX font). This makes the output difficult to read and understand.
Steps to Reproduce:
Provide the AI with input text containing dollar amounts and insurance coverage details, as shown in the example.
Generate the AI output based on the provided input.
Observe the rendered output image.
Expected Behavior:
The dollar amounts in the AI-generated output should be correctly rendered as regular text, without any LaTeX-style formatting. For example, "$740 for $5 million coverage" should appear as is, without any distortion.
Actual Behavior:
The dollar amounts in the AI-generated output are being rendered with LaTeX-style formatting, such as "740for5 million coverage".
Environment
Operating System: macOS, iOS
Browser (if applicable): Safari
Logs and Screenshots
Screenshots (if applicable):
Additional Information
The issue seems to be related to the rendering of dollar amounts specifically, as other parts of the output appear to be rendered correctly.
This bug may be caused by a conflict with LaTeX-style formatting or an issue with the rendering engine used in the project.
Originally created by @tusing on GitHub (Apr 2, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1387
# Bug Report
## Description
**Bug Summary:**
The AI-generated output contains dollar amounts, but they are being incorrectly rendered with LaTeX-style formatting (e.g., `$740 for $5 million` is rendered as *740for*5 million in LaTeX font). This makes the output difficult to read and understand.
**Steps to Reproduce:**
1. Provide the AI with input text containing dollar amounts and insurance coverage details, as shown in the example.
2. Generate the AI output based on the provided input.
3. Observe the rendered output image.
**Expected Behavior:**
The dollar amounts in the AI-generated output should be correctly rendered as regular text, without any LaTeX-style formatting. For example, "$740 for $5 million coverage" should appear as is, without any distortion.
**Actual Behavior:**
The dollar amounts in the AI-generated output are being rendered with LaTeX-style formatting, such as "*740for*5 million coverage".
## Environment
- **Operating System:** macOS, iOS
- **Browser (if applicable):** Safari
## Logs and Screenshots
**Screenshots (if applicable):**
<img width="717" alt="Screenshot 2024-04-01 at 5 35 51 PM" src="https://github.com/open-webui/open-webui/assets/1077203/d850059b-7698-4da9-b6ca-7df8964ccbee">
## Additional Information
- The issue seems to be related to the rendering of dollar amounts specifically, as other parts of the output appear to be rendered correctly.
- This bug may be caused by a conflict with LaTeX-style formatting or an issue with the rendering engine used in the project.
@tjbck it looks like a fix was introduced in #130 (here) but then regressed in #835 (here). How do we feel about re-enabling the hotfix in #130 ?
<!-- gh-comment-id:2030891004 -->
@tusing commented on GitHub (Apr 2, 2024):
@tjbck it looks like a fix was introduced in #130 ([here](https://github.com/open-webui/open-webui/pull/130/commits/ba71d48bcfc8e8b3482542ed4679c3b0e6a00518#diff-b053d99198aa22763bd4d86a77869522b66143a5c935936f0d17e0376476cc9fR108)) but then regressed in #835 ([here](https://github.com/open-webui/open-webui/blame/5558514ff19c088fd0c8c87205d7a89a0d115a1c/src/lib/components/chat/Messages/ResponseMessage.svelte#L131)). How do we feel about re-enabling the hotfix in #130 ?
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.
Originally created by @tusing on GitHub (Apr 2, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1387
Bug Report
Description
Bug Summary:
The AI-generated output contains dollar amounts, but they are being incorrectly rendered with LaTeX-style formatting (e.g.,
$740 for $5 millionis rendered as 740for5 million in LaTeX font). This makes the output difficult to read and understand.Steps to Reproduce:
Expected Behavior:
The dollar amounts in the AI-generated output should be correctly rendered as regular text, without any LaTeX-style formatting. For example, "$740 for $5 million coverage" should appear as is, without any distortion.
Actual Behavior:
The dollar amounts in the AI-generated output are being rendered with LaTeX-style formatting, such as "740for5 million coverage".
Environment
Logs and Screenshots
Screenshots (if applicable):
Additional Information
@tusing commented on GitHub (Apr 2, 2024):
@tjbck it looks like a fix was introduced in #130 (here) but then regressed in #835 (here). How do we feel about re-enabling the hotfix in #130 ?
@justinh-rahb commented on GitHub (Apr 2, 2024):
LaTeX has been a thorn in our side for a bit.. 😔
@tjbck commented on GitHub (Apr 2, 2024):
Should be fixed on our dev branch now, let us know if the issue persists!
@tusing commented on GitHub (Apr 2, 2024):
Thank you. Closing this as fixed due to
2c03021, will re-open if needed!