Hello there and thanks in advance for you help. So, I have a search.html
file that looks properly when I open it directly in jupyter-lab (I can’t display it here due to upload limitations).
However, if I have any other file with an href to search.html
, for example, like this:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<title>Welcome to playground’s documentation! — playground documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/alabaster.css" />
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="stylesheet" href="_static/custom.css" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
</head><body>
<p><a class="reference internal" href="search.html"><span class="std std-ref">Search Page</span></a></p>
</body>
</html>
If I open the file and press the link the search.html
will be rendered like this (without any CSS, and that’s not what the file looks like):
I suppose this is happening because search.html
is being rendered within the tab of the first file. I have tried adding the attribute target="_blank"
to the anchor HTML element but did not work.
I assume this is a bug since if you preview a Markdown file that has a link to another file it works properly by opening it in another tab within jupyter.
Any help?