jupyter / jupyter/notebook

Cell with HTML content containing <base href="..."> breaks toolbar (save, etc.) (ipython/ipython#10843)

Open
#3,089 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

Duplicate of https://github.com/ipython/ipython/issues/10843

Hello

I came across this:

```
%%html

```

Although the result is "correct" and the image appears. The notebook cannot longer be saved because its `` was modified by the embedded HTML.

![screen shot 2017-09-29 at 6 00 33 pm](https://user-images.githubusercontent.com/5215870/31039085-537e505a-a540-11e7-96a9-7801f9b45d4e.png)

Wouldn't this be considered an issue?

Notice the **error** warning pill on the top-right of the notebook.

Jupyter 5.1.0

![screen shot 2017-09-29 at 6 04 29 pm](https://user-images.githubusercontent.com/5215870/31039129-ba41bec6-a540-11e7-9b32-29d49af7e789.png)

Contributor guide

Open the contributing guide

Research direction

Review the linked duplicate issue and reproduce the problem with the supplied %%html cell containing a element. Trace how that embedded HTML affects the notebook toolbar and save operation; done means the HTML still renders while toolbar actions, including saving, continue to work without an error warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.