First of all many thanks for developing and maintaining the excellent 
Jupyter software.

For the IPython kernel https://github.com/nbruin/magma_kernel I am noticing 
a difference in behaviour between Jupyter Lab and Notebook for the handling 
of a display_data message with text/html data.

The kernel handles certain responses with with following code, which is 
supposed to display an HTML link (to online help):

    def do_help(self, keyword):
        URL="http://system/online_help.html?query="+keyword
        content = {
            'source': 'stdout',
            'data': {
                'text/html':'<a href="{}" target="magma_help">Magma help on 
{}</a>'.format(URL,keyword)
            }
        }
        self.send_response(self.iopub_socket, 'display_data', content)

In Jupyter Notebook this works as expected. In Lab it doesn't display 
anything at all. Any suggestions on how I should change this code so that 
it works on Lab as well?

Kind regards,

Nils Bruin

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/10396a1e-2cb7-4365-ae03-60c87953b830%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to