Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Evaluate variables in HTML tags? (Sugarcube 2)

Please help a newbie. I have a variable inside an HTML tag, and I'm having a ton of trouble getting it to evaluate.
     <p class="<<=$feedbackClass>>">
          Stuff
      </p>

This should evaluate as
     <p class="wrong">
          Stuff
      </p>

I've tried many, many variations using HTML escape characters, backslashes, <<print>>, etc. I can't get it to work.

At this point I feel like the woozy cat that's been chasing the red laser pointer for three hours.

Comments

Sign In or Register to comment.