SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,18 @@
Index: nbconvert/exporters/html.py
--- nbconvert/exporters/html.py.orig
+++ nbconvert/exporters/html.py
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
+# coding: utf-8
"""HTML Exporter class"""
# Copyright (c) Jupyter Development Team.
@@ -9,7 +10,7 @@ import os
from traitlets import default, Unicode
from traitlets.config import Config
from jupyter_core.paths import jupyter_path
-from jinja2 import contextfilter
+from jinja2 import pass_context as contextfilter
from nbconvert.filters.highlight import Highlight2HTML
from nbconvert.filters.markdown_mistune import IPythonRenderer, MarkdownWithMath