Hi,
This seems to be working for me. Here is an online test case:
http://www.janodvarko.cz/firebug/tests/copyhtml/copyhtml.html

Let me know if it works for you.

Tested with:
Firebug 1.5a23
Firefox 3.5.4pre

Honza


On Sep 8, 12:20 pm, Dude <[email protected]> wrote:
> Hey,
>
> I often use the "Copy HTML" function from the DOM inspector. But it
> doesn't copy the exact HTML used in the source. For example empty
> DIV's lik :
>
> <div class="a"></div>
>
> get copied into the clipboard as:
>
> <div class="a"/>
>
> An if you paste such HTML into your sorce it won't work properly. So I
> have to manually fix those /> on div's. And I can't do it by
> find&replace, becouse there are tags that have /> (img for example).
--~--~---------~--~----~------------~-------~--~----~
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 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to