NR5: info popover does not support node.info()

Hi There,

Question: should the info popover support node.info(), i.e., that the info attribute of the node is a function?

Basically the info panel supports info attribute being a function:

            if (node._def && node._def.info) {
                var info = node._def.info;
                var textInfo = (typeof info === "function" ? info.call(node) : info);
                infoText = infoText + RED.utils.renderMarkdown(textInfo);
            }
            if (node.info) {
                infoText = infoText + RED.utils.renderMarkdown(node.info || "")
            }

But the popover does not:

RED.utils.renderInfoText(RED.utils.renderMarkdown(n.info), body, { collapseSections: false });

Is this going to stay like this? I actually have a use case for the info-as-function variation and am wondering what to do with the popover ...

@gregorius they should be consistent. Please raise an issue. The popover should contain the same info text as the sidebar.