In the process of developing a firebug extension, I encountered an issue with displaying JSON in the panel. Despite using a textarea to display the panel, the extension consistently crashes. Here is what I attempted:
var template = domplate(
{
tag:
TEXTAREA({"class": "textEditorInner", type: "text"},json)
});
Unfortunately, this implementation caused the plugin to crash. Strangely enough, it works fine for regular text content.