I'm having an issue getting the smallcap tag to work.
I am including it in a rule so that when an extension is present on a phone #, it puts in the word "EXT" in smallcaps.
However, I haven't been able to get it to work.
Here is what I've been trying:
if (Left(phoneNum, 12)=="555-555-5555")
return "555.555.TEXT" + '<smallcap> EXT </smallcap>'+(Right(phoneNum, 3));
return FormatPhoneNumber(Trim(RuleOrField(PhoneVar)), delim, Format.match(/[\(\)]/), spaceAfterCloseParend);
Basically, their office number spells out their name so I'm switching the last 4 digits to text instead of numbers. (I've removed the real numbers and letters)
I don't use tagged markup a lot so I'm never sure if I'm plugging it in correctly.
Could it be a font issue? Are there some fonts that don't want to work with that tag? I'm using DIN 2014.