whitesoup12 / remote-falcon

Remote Falcon Monorepo for all things RF
GNU General Public License v3.0
12 stars 5 forks source link

{QUEUE_SIZE} is not being rendered... #102

Closed bmasella closed 10 months ago

bmasella commented 11 months ago

Your Show Name: depoebaylights

Describe the bug: I have this html:

# Selected Songs

{QUEUE_SIZE} of {QUEUE_DEPTH}
and it displays as: # Selected Songs {QUEUE_SIZE} of 3 **To Reproduce:** See above **Expected behavior:** Queue_size to represent the number of songs already selected so if 1 song had been selected it would show 1 of 3 if 2 selected 2 of 3...etc.
whitesoup12 commented 11 months ago

You HTML looks like this...

<div class="body_text"> {QUEUE_SIZE} of {QUEUE_DEPTH} </div>

This won't work because the HTML to React parser cannot parse 2 tags in the same line. Instead, try putting each tag in its own element, like this...

<div class="body_text"><span>{QUEUE_SIZE}</span> of <span>{QUEUE_DEPTH}</span></div>