raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.01k stars 2.74k forks source link

[Search MDN] ... #12921

Open yougotwill opened 2 weeks ago

yougotwill commented 2 weeks ago

Extension

https://www.raycast.com/krzysztofzuraw/search-mdn

Raycast Version

1.76.0

macOS Version

14.5

Description

Error:

Error: Cannot parse render tree JSON:
Invalid escape sequence around line 1, column 2696.)

Steps To Reproduce

  1. Search MDN for Array.sort
  2. Choose Array.prototype.sort

Current Behaviour

Shows something went wrong screen

Expected Behaviour

Load documentation about Array.sort

raycastbot commented 2 weeks ago

Thank you for opening this issue!

🔔 @krzysztofzuraw @OBQun @k8scat @j3lte you might want to have a look.

💡 Author and Contributors commands The author and contributors of `krzysztofzuraw/search-mdn` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
j3lte commented 2 weeks ago

I did a bit of bughunting here, but can't seem to find an error. The markdown that is retrieved seems perfectly valid, but somehow the markdown viewer of <Detail /> doesn't like it. Unfortunately this is an error that we cannot catch (I tried this with try {} catch (e) {}), this is an internal error in the markdown rendering. I don't know tho whom at Raycast we would have to escalate, they might want to look at their markdown renderer...