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

Fix: HTML tags rendering as text in UI #2332 #2334

Open
wants to merge 1 commit into
base: testing
Choose a base branch
from

Conversation

Muhsin-42
Copy link

Summary

This PR addresses the issue where HTML tags were being displayed as plain text instead of being rendered properly in the UI. The fix ensures that HTML content is parsed and rendered correctly.

Fixes #2332

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Description

The issue occurred because HTML tags like <p> and <span> were not being interpreted correctly, leading to raw HTML being displayed as text in the UI. This PR resolves the problem by ensuring that the component properly parses and renders HTML content.

Test Plan

  • Verified that HTML tags are rendered correctly in the UI.
  • Conducted manual testing to ensure no regressions in other parts of the application.
  • Added unit tests to cover the fix and ensure future stability.

Checklist

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my code.
  • My changes generate no new warnings.
  • Any dependent changes have been merged and published in downstream modules.
  • New and existing unit tests pass locally with my changes.

Screenshots

Before
image
After
image

- Resolved issue where HTML tags were displayed as plain text instead of being rendered.
Copy link

vercel bot commented Mar 3, 2025

@Muhsin-42 is attempting to deploy a commit to the Quran Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug]: HTML Tags Displaying as Text in UI instead of rendering
1 participant