瀏覽代碼

ignore cases when looking for `script`

Elisha Hollander 3 年之前
父節點
當前提交
8b198e4616
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pywebio/platform/bokeh.py

+ 1 - 1
pywebio/platform/bokeh.py

@@ -149,7 +149,7 @@ def show_app(app, state, notebook_url, port=0, **kw):
             \g<2>
         });
     </script>
-    """, script)
+    """, script, flags=re.I)
 
     put_html(script, sanitize=False)