fix(artist.php.liquid): remove unnecessary notes header from artist page concert modals

This commit is contained in:
Cory Dransfeldt 2025-05-04 09:20:21 -07:00
parent aa33cd72df
commit 573b66a170
No known key found for this signature in database
3 changed files with 4 additions and 5 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "coryd.dev",
"version": "3.4.3",
"version": "3.4.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "3.4.3",
"version": "3.4.4",
"license": "MIT",
"dependencies": {
"html-minifier-terser": "7.2.0",

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "3.4.3",
"version": "3.4.4",
"description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module",
"engines": {

View file

@ -89,7 +89,6 @@ schema: artist
at <?php echo $venue; ?>
<?php endif; ?>
<?php if (!empty($concert["notes"])): ?>
<?php $notes = "### Notes\n" . htmlspecialchars($concert["notes"]); ?>
<button class="dialog-open client-side" data-dialog-trigger="<?php echo $dialogId; ?>" data-dialog-button>
{% tablericon "info-circle" %}
</button>
@ -97,7 +96,7 @@ schema: artist
<button class="dialog-close" data-dialog-button>
{% tablericon "circle-x" %}
</button>
<?php echo parseMarkdown($notes); ?>
<?php echo parseMarkdown(htmlspecialchars($concert["notes"])); ?>
</dialog>
<?php endif; ?>
</li>