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

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>