fix regex for column divider

This commit is contained in:
Wolfgang 2025-02-21 12:10:11 +01:00
parent cb4931dbd0
commit 3cc89d28a8

View file

@ -32,7 +32,7 @@ dt, dd {
const url_blob = "https://github.com/oe1wkl/Morserino-32/blob/master/Documentation/User Manual/Version 6.x/m32_user-Manual_v6_de.adoc"; const url_blob = "https://github.com/oe1wkl/Morserino-32/blob/master/Documentation/User Manual/Version 6.x/m32_user-Manual_v6_de.adoc";
const appendix_match = new RegExp("\[\[appendix7\]\]"); const appendix_match = new RegExp("\[\[appendix7\]\]");
const column_match = new RegExp("::[\s\t]+"); const column_match = new RegExp(/::\s+/);
const url_raw = url_blob.replace("github.com", "raw.githubusercontent.com").replace("/blob/", "/") const url_raw = url_blob.replace("github.com", "raw.githubusercontent.com").replace("/blob/", "/")
document.getElementById("abbr_url").innerText = url_blob; document.getElementById("abbr_url").innerText = url_blob;