搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Console log is displaying un-parsed HTML and there's no option to fix it.

  • 4 个回答
  • 3 人有此问题
  • 4 次查看
  • 最后回复者为 dedolence

more options

Developing a simple application and I am trying to debug it with the console log. The log works fine, however it looks like it's attempting to style the log entries but isn't parsing its own HTML. That is, instead of seeing: <big>EXAMPLE</big> I'm seeing: < b>< i>< big>EXAMPLE</big></i></b>

Here is an example of the most recent log entry: "< pre class='xdebug-var-dump' dir='ltr'> < small>C:\wamp64\www\schedule2\jqueryAJAX.php:31:</small> < b>object</b>(< i>scheduleSheet</i>)[< i>1</i>]

 < i>public</i> 'propl' < font color='#888a85'>=></font> 

< small>string</small> < font color='#cc0000'>'property'</font>

< i>(length=8)</i>

</pre>success"

This happens no matter what script I'm using, however it only seems to happen on scripts located in localhost (with WAMP running). The console on other webpages seem to be styled appropriately, with no un-parsed HTML tags.

Developing a simple application and I am trying to debug it with the console log. The log works fine, however it looks like it's attempting to style the log entries but isn't parsing its own HTML. That is, instead of seeing: <b><i><big>EXAMPLE</big></i></b> I'm seeing: < b>< i>< big>EXAMPLE</big></i></b> Here is an example of the most recent log entry: "< pre class='xdebug-var-dump' dir='ltr'> < small>C:\wamp64\www\schedule2\jqueryAJAX.php:31:</small> < b>object</b>(< i>scheduleSheet</i>)[< i>1</i>] < i>public</i> 'propl' < font color='#888a85'>=&gt;</font> < small>string</small> < font color='#cc0000'>'property'</font> < i>(length=8)</i> </pre>success" This happens no matter what script I'm using, however it only seems to happen on scripts located in localhost (with WAMP running). The console on other webpages seem to be styled appropriately, with no un-parsed HTML tags.
已附加屏幕截图

由dedolence于修改

所有回复 (4)

more options

Please Refresh but do this 1st:

then

TEST....... If no issues then Extensions which need to be added back in 1 at a time and tested ..... Or it is your Profile : Make a new one and test ...:

If is your Profile :

Note: Any customization will revert back to default, you will also need to reinstall Extensions.

Please let us know if this solved your issue or if need further assistance.

more options

I've never seen formatted text in the (web and browser) console.

Do you have an online example page that displays parsed HTML code?

more options

cor-el said

I've never seen formatted text in the (web and browser) console. Do you have an online example page that displays parsed HTML code?

It shows formatted log text on any and every website other than the ones I host on localhost. I've attached a screenshot of this very reply page. Notice the colors, outlines, etc.

more options

Pkshadow said

Please Refresh but do this 1st: then TEST....... If no issues then Extensions which need to be added back in 1 at a time and tested ..... Or it is your Profile : Make a new one and test ...: If is your Profile : Note: Any customization will revert back to default, you will also need to reinstall Extensions. Please let us know if this solved your issue or if need further assistance.

Thank you but this did not solve my problem.