Skip to content

FAQ accordion renders HTML tags as plain text instead of parsing links #1693

@Md-Talim

Description

@Md-Talim

Describe the bug
In the FAQ section on the website, the answer content for some accordion items is being rendered as raw HTML string instead of being interpreted as HTML. Anchor tags like <a href='/screen-recorder-mac'>macOS</a> are displayed literally as text rather than as clickable hyperlinks.

Steps to reproduce

  1. Go to the FAQ section on cap.so/screen-recorder
  2. Click on "What platforms does Cap support?"
  3. Observe the expanded answer

Expected behavior
The answer should render formatted HTML with clickable links (e.g., "macOS" and "Windows" as hyperlinks).

Actual behavior
Raw HTML tags are visible as plain text in the answer body, e.g.:

Cap is compatible with <a href='/screen-recorder-mac'>macOS</a> and <a href='/screen-recorder-windows'>Windows</a>...

Screenshots

Image Image

Likely cause
The FAQ answer content is probably being set via textContent or passed into a framework without dangerouslySetInnerHTML / v-html / equivalent. The fix would be to use the appropriate method to render HTML content safely.

Environment

  • Browser: Brave, Chrome
  • OS: Ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions