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">
|
<div class="lyrics">
|
||||||
<h2>🎵 Song Lyrics</h2>
|
<h2>🎵 Song Lyrics</h2>
|
||||||
{% for line in req.suno_lyrics.splitlines() %}
|
{% for line in req.suno_lyrics.splitlines() %}
|
||||||
{% if line.startswith('[') and line.endswith(']') %}
|
{% set line = line.strip() %}
|
||||||
<span class="section-label">{{ line }}</span>
|
{% if line and not (line.startswith('[') and line.endswith(']')) %}
|
||||||
{% elif line.strip() %}
|
|
||||||
<span class="lyric-line">{{ line }}</span>
|
<span class="lyric-line">{{ line }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
Reference in a new issue