Folo icon indicating copy to clipboard operation
Folo copied to clipboard

Code Block Render Error

Open wlynxg opened this issue 1 year ago β€’ 3 comments

Describe the bug

Minified React error #257; visit https://reactjs.org/docs/error-decoder.html?invariant=257 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

image

Feed Info

https://app.follow.is/feeds/all/72561971801102337?type=rss&view=0

Reproduction Video

No response

App Type

Web

Version

Environment App Version: 0.1.0-beta.0 OS: Windows User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Env: web Browser: Chrome

Operating System

Windows 10

Browser Info

Environment

App Version: 0.1.0-beta.0 OS: Windows User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Env: web Browser: Chrome

Validations

  • [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • [X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.

Contributions

  • [ ] I am willing to submit a PR to fix this issue
  • [ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

wlynxg avatar Oct 25 '24 09:10 wlynxg

<pre><span></span><code><span id=\"user-content-__span-0-1\"><a id=\"user-content-__codelineno-0-1\" name=\"user-content-__codelineno-0-1\" href=\"#__codelineno-0-1\" target=\"_blank\"></a><span>RUN</span><span> </span>apt-get<span> </span>update<span> </span><span>&#x26;&#x26;</span><span> </span>apt-get<span> </span>upgrade<span> </span>-y<span> </span><span>&#x26;&#x26;</span><span> </span>apt-get<span> </span>autoremove<span> </span>-y\n</span></code></pre>

Incorrect html format for Feed parsing, embedded a tag in pre

Innei avatar Oct 25 '24 15:10 Innei

Bot detected the issue body's language is not English, translate it automatically. πŸ‘―πŸ‘­πŸ»πŸ§‘β€πŸ€β€πŸ§‘πŸ‘«πŸ§‘πŸΏβ€πŸ€β€πŸ§‘πŸ»πŸ‘©πŸΎβ€πŸ€β€πŸ‘¨πŸΏπŸ‘¬πŸΏ


<pre><span></span><code><span id=\"user-content-__span-0-1\"><a id=\"user-content-__codelineno-0-1\" name=\"user-content-__codelineno-0-1\" href=\"#__codelineno-0-1\" target=\"_blank\"></a><span>RUN</span><span> </span>apt-get<span> </span>update<span> </span><span>&&</span><span> </span>apt-get<span> </span>upgrade<span> </span>-y<span> </span><span>&&</span><span> </span>apt-get<span> </span>autoremove<span> </span>-y\n</span></code></pre>

Incorrect html format for Feed parsing, embedded a tag in pre

github-actions[bot] avatar Oct 25 '24 15:10 github-actions[bot]

\<pre\><span></span><code><span id=\"user-content-__span-0-1\"><a id=\"user-content-__codelineno-0-1\" name=\"user-content-__codelineno-0-1\" href=\"#__codelineno-0-1\" target=\"_blank\"></a><span>RUN</span><span> </span>apt-get<span> </span>update<span> </span><span>&#x26;&#x26;</span><span> </span>apt-get<span> </span>upgrade<span> </span>-y<span> </span><span>&#x26;&#x26;</span><span> </span>apt-get<span> </span>autoremove<span> </span>-y\n</span></code>\</pre\>

Incorrect html format for Feed parsing, embedded a tag in pre

Thanks for your reply. Does this problem need to be fixed by the plugin that I use to provide the RSS feed? However, I don't see any errors in other RSS readers.

wlynxg avatar Oct 28 '24 01:10 wlynxg

In this case, we could also fall into a mode without code highlighting. @Innei WDYT?

hyoban avatar Oct 28 '24 02:10 hyoban

I think it'll good idea

Innei avatar Nov 01 '24 17:11 Innei