0

I need to use a superscript registered symbol ( ® ) in a category title.

There is no unicode character for a superscripted ® and I can't figure out a way to make the category title allow HTML.

Has anyone got a work around for this?

4
  • Have you considered a client side javascript solution to find and replace ® with <sup>®</sup>? – mjr Apr 8 '16 at 16:53
  • Yes I've just implemented one but it's really not an ideal solution. – foamcow Apr 8 '16 at 17:07
  • 1
    How about not using the category title? Create a custom category field and use that to display as the title instead? Or does that have the same restriction? – Peter Lewis Apr 8 '16 at 21:34
  • Hmm. I like that idea. Not sure if it would have the same restriction. From a client simplicity point of view it might not be ideal but I like your thinking! – foamcow Apr 9 '16 at 21:09
0

Have you check CE String? It allows you to manipulate strings (text) with very simple syntax. In the User guide take a look at the Custom Methods.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.