« get me outta code hell

fix broken Flashes & Pages hash links - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-03-05 20:48:40 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-03-05 20:48:40 -0400
commit05eae635082b84e85925792a5aced7aac356b074 (patch)
treee7d1288fd253b6cea388ac19444bc3876d85f67a /src/page
parent203f324ed4eda2d51a8dbaf82d9694f837b87a7b (diff)
fix broken Flashes & Pages hash links
Diffstat (limited to 'src/page')
-rw-r--r--src/page/flash.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/page/flash.js b/src/page/flash.js
index c116479a..2f5778e8 100644
--- a/src/page/flash.js
+++ b/src/page/flash.js
@@ -167,7 +167,7 @@ export function writeTargetless({
           ...flashActData.flatMap((act, i) => [
             html.tag('h2',
               {
-                id: '#' + act.anchor,
+                id: act.anchor,
                 style: getLinkThemeString(act.color),
               },
               link.flash(act.flashes[0], {