Do you have any ideas/tips how Firebug could be improved to help more
in this case?
E.g. could the HTML preview for HTTP responses in the Net panel be
improved?

Honza

On Jun 5, 7:05 am, Sebastian Zartner <[email protected]>
wrote:
> The *HTML* panel shows a dynamic view on what you see inside the page. It
> doesn't show the source HTML. Therefore it uses the DOM functions of
> Firefox to access the contents, which return the HTML as it was interpreted
> by the browser.
> I.e. the HTML panel can't show you entity escaping errors.
>
> An admittedly inconvenient way to check for not escaped entities is
> searching within the response bodies inside the *Net* panel.
>
> Sebastian
>
>
>
>
>
>
>
> On Monday, June 4, 2012 11:07:29 PM UTC+2, Ben wrote:
>
> > Hello,
>
> > Is there any means by which to disable HTML entity escaping 
> > *and*un-escaping in Firebug's HTML pane?
>
> > There are times when I need to determine whether or not the raw HTML
> > source code contains erroneously un-escaped HTML entities. The problem is
> > that Firebug seems to convert un-escaped entities in the raw HTML to
> > properly-escaped entities in the HTML pane (and vice-versa, when the *Show
> > Basic Entities* option is un-checked in the HTML tab's drop-down menu).
>
> > To explain further, if I include an un-escaped ampersand in the raw HTML
> > source ("&"), Firebug always displays that character as "&amp;" in the HTML
> > pane. If I examine the DOM inspector, the *outerHTML* property displays
> > "&amp;", the *childNodes* property displays "&", and the *text* property
> > displays "&". There seems to be no consistency.
>
> > I tried un-checking the *Show Basic Entities* option, but that just
> > creates the opposite problem: when the raw HTML source contains "&", and I
> > un-check *Show Basic Entities*, Firebug's HTML pane always displays "&",
> > even if I escape the ampersand in the raw HTML source ("&amp;").
>
> > All I want to be able to do is know whether the entity is escaped in the
> > raw HTML or not. (And no, I can't use the browser's "View Source" feature,
> > because I'm dealing with heavy AJAX and no deep-linking.)
>
> > Thanks for any help.

-- 
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug

Reply via email to