ui: hide Suno metatag brackets from customer lyrics view

This commit is contained in:
Troll (Hermes Agent) 2026-08-03 18:41:06 +00:00
parent e5b8186b4f
commit d44882c237

View file

@ -118,9 +118,8 @@
<div class="lyrics">
<h2>🎵 Song Lyrics</h2>
{% for line in req.suno_lyrics.splitlines() %}
{% if line.startswith('[') and line.endswith(']') %}
<span class="section-label">{{ line }}</span>
{% elif line.strip() %}
{% set line = line.strip() %}
{% if line and not (line.startswith('[') and line.endswith(']')) %}
<span class="lyric-line">{{ line }}</span>
{% endif %}
{% endfor %}