Skip to content

Conversation

@gavande1
Copy link
Contributor

@gavande1 gavande1 commented Dec 24, 2025

Related issues

Important

I have also updated bot to always generate Markdown links. The details are attached in Linear issue.

Proposed Changes

  • Add rehype-raw package to allow links to be parsed and rendered in Markdown block.

Testing Instructions

  • Checkout this branch
  • Run npm install & npm start
  • Go to assistant tab. Write following prompt and submit

How can I login into the my wp-admin? I can't find the link

  • Make sure it returns links to admin and they are rendered correctly.
Before After
CleanShot 2025-12-24 at 15 34 58 CleanShot 2025-12-24 at 15 34 40

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

@gavande1 gavande1 changed the title Studio assistant doesnt render correctly html anchor links Studio: Assistant doesnt render correctly html anchor links Dec 24, 2025
@gavande1 gavande1 self-assigned this Dec 24, 2025
@gavande1 gavande1 requested a review from a team December 24, 2025 10:06
@github-actions
Copy link
Contributor

github-actions bot commented Dec 24, 2025

📊 Performance Test Results

Comparing 80b6d09 vs trunk

site-editor

Metric trunk 80b6d09 Diff Change
load 8863.00 ms 10200.00 ms +1337.00 ms 🔴 15.1%

site-startup

Metric trunk 80b6d09 Diff Change
siteCreation 13269.00 ms 13187.00 ms -82.00 ms 🟢 -0.6%
siteStartup 5975.00 ms 5940.00 ms -35.00 ms 🟢 -0.6%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change

Copy link
Contributor

@nightnei nightnei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and works as expected 👍
Screenshot 2025-12-24 at 14 24 25

@gavande1 gavande1 merged commit a07784b into trunk Dec 25, 2025
9 checks passed
@gavande1 gavande1 deleted the stu-1166-studio-assistant-doesnt-render-correctly-html-anchor-links branch December 25, 2025 07:22
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.

3 participants