Reputation: 6124
I am trying to format this HTML sentence <span>X<sup>2</sup> + Y<sup>2</sup> = ____</span>
using <s:formatText/>
. But the string "____"
is not formatted correctly. How to get the sentence as Xpow(2) + Ypow(2) = _____
after formatting.
Note: I have surrounded the __ with an apostrophe so that it is show in the stackoverflow editor properly
Upvotes: 2
Views: 170
Reputation: 19682
the _ is a special character, used for underlining. You could try escaping it:
\_\_
Upvotes: 3