Skip to content

Commit 4edf826

Browse files
Sync with FEM on Colab website: fem-on-colab/fem-on-colab.github.io@f0f66302
1 parent 19c7e0f commit 4edf826

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

_ext/ext.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,7 @@ def on_build_finished(app, exc):
293293
if exc is None and app.builder.format == "html":
294294
# Unescape at symbol
295295
subprocess.run(
296-
"find " + str(app.outdir) + r" -type f -not -path '*/\.git/*' -exec sed -i 's/%40/@/g' {} +",
297-
shell=True)
298-
subprocess.run( # undo incorrect escape in plotly js
299-
"sed -i 's/t@0=/t%400=/g' " + str(app.outdir) + "/packages.html",
296+
"find " + str(app.outdir) + r" -type f -not -path '*/\.git/*' -exec sed -i 's/%40unicatt/@unicatt/g' {} +",
300297
shell=True)
301298
# Mark current page as active
302299
subprocess.run(

0 commit comments

Comments
 (0)