Fix JS syntax error: use non-interpolating heredoc for JS block

Perl was interpolating $/ in the regex as input record separator.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
shuki
2026-03-05 20:04:04 +02:00
parent 043e409930
commit f0171a9eb4

View File

@@ -68,7 +68,7 @@ print qq{ <button type="button" class="btn btn-primary btn-sm" id="next-btn" di
print qq{</div>\n}; print qq{</div>\n};
# JavaScript for snapshot loading and navigation # JavaScript for snapshot loading and navigation
print <<"END_JS"; print <<'END_JS';
<script> <script>
function gnizaLoadSnapshots() { function gnizaLoadSnapshots() {
var remote = document.getElementById('remote').value; var remote = document.getElementById('remote').value;