From 4edf826c564d2756e3f74b5fa4583437bf4abddf Mon Sep 17 00:00:00 2001 From: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 13:09:10 +0000 Subject: [PATCH] Sync with FEM on Colab website: fem-on-colab/fem-on-colab.github.io@f0f66302 --- _ext/ext.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/_ext/ext.py b/_ext/ext.py index fd16c89..4159495 100644 --- a/_ext/ext.py +++ b/_ext/ext.py @@ -293,10 +293,7 @@ def on_build_finished(app, exc): if exc is None and app.builder.format == "html": # Unescape at symbol subprocess.run( - "find " + str(app.outdir) + r" -type f -not -path '*/\.git/*' -exec sed -i 's/%40/@/g' {} +", - shell=True) - subprocess.run( # undo incorrect escape in plotly js - "sed -i 's/t@0=/t%400=/g' " + str(app.outdir) + "/packages.html", + "find " + str(app.outdir) + r" -type f -not -path '*/\.git/*' -exec sed -i 's/%40unicatt/@unicatt/g' {} +", shell=True) # Mark current page as active subprocess.run(