HTML case fraction not rendered corretcly

I have a problem with HTML case fraction. Normally I would expect "&fract12;" to render ½. However it does not. I'm using tinyMCE editor where it displays correct. On the website itself it does not. The Theme (paradigm) uses printImageDesc() to display the text.
Example: http://paledog.de/Automobile/vintage/1930-bentley-6-litre-speed-six-tourer_rear.jpg.html

I think the problem is that i use the source code option to edit the text. In some Image Titles it works without a problem.

Comments

  • acrylian Administrator, Developer
    TinyMCE does already encode characters itself. Try entering it as the actual character if you haven't.
  • That's what I originally did. Just tried to overwrite, but it keeps messing it up. I know it's not that common, but in my case I really need it ;-)
  • acrylian Administrator, Developer
    Have you tried to add the fraction code in TinyMCE's source view?

    Edit: I can reproduce that. Seems some double encoding. Quick fix change the theme to use `echo getImageDesc()` instead. `print` function do html encoding generally indeed but not sure why this happens with these chars.
  • Changed it. Works! Many thanks for the quick support. Going to contact the theme developer to fix it for his next release of his theme ;-)
Sign In or Register to comment.