搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

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.