ui: hide Suno metatag brackets from customer lyrics view
This commit is contained in:
parent
e5b8186b4f
commit
d44882c237
1 changed files with 2 additions and 3 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Reference in a new issue