Browse Source

ignore cases when looking for `script`

Elisha Hollander 3 năm trước cách đây
mục cha
commit
8b198e4616
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)