Skip to content

Commit 4d657a9

Browse files
committed
fix double-escaping
1 parent 2e0f874 commit 4d657a9

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,10 @@ jobs:
4747
- name: Render for school
4848
run: ./extras/scripts/school_ci.sh ${{ matrix.school }}
4949

50-
# have had issues with nbgitpuller URLs being double-escaped, which causes an error when trying to open it
51-
- name: Confirm there isn't double-escaping
52-
run: |
53-
if grep -r "&" _build/html; then
54-
echo "Double-escaped URL"
55-
exit 1
56-
else
57-
echo "No double-escaping"
58-
fi
50+
# https://github.com/jupyter-book/jupyter-book/issues/2271
51+
# https://stackoverflow.com/a/22385837/358804
52+
- name: Fix double-escaping
53+
run: grep -rlZ "&" ~/Downloads/nyu | xargs -0 sed -i "" -e 's/&/\&/g'
5954

6055
- name: Update commit
6156
run: |

0 commit comments

Comments
 (0)