You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I found this plugin modifies a plain html, if it contains a <pre> tag in which a string begins with [ or {.
Windows 10
Chrome 124.0.6367.207 (64bits)
Version: 0.7.3
HTML file for test:
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
</head>
<body>
<h1>Title</h1>
Body Text
<pre style="border: 1px solid red;">
[ begin with a bracket, but not JSON
</pre>
</body>
</html>
When this plugin is disabled:
When enabled:
In the developer's tool: pre tag is moved into the first place in body
It seems that JSON formatter tries to format the string in the pre tag and failed because the string isn't a valid JSON.
Thanks.
The text was updated successfully, but these errors were encountered:
(Maybe someone has reported it already but...)
Hello,
Today I found this plugin modifies a plain html, if it contains a
<pre>
tag in which a string begins with[
or{
.Windows 10
Chrome 124.0.6367.207 (64bits)
Version: 0.7.3
HTML file for test:
pre
tag is moved into the first place inbody
It seems that JSON formatter tries to format the string in the
pre
tag and failed because the string isn't a valid JSON.Thanks.
The text was updated successfully, but these errors were encountered: