The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

missinglangkey CSS style is breaking foreign langs templates

Discussion in 'General Discussion' started by Kent Brockman, Jun 29, 2008.

  1. Kent Brockman

    Kent Brockman Well-Known Member

    Joined:
    Jan 20, 2008
    Messages:
    1,130
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi, this is for the cPanel staff. I'm using the spanish translation of X3, and noticed that when cPanel discover a missing lang key, inserts an SPAN html tag, css styled, to mark the faulty key. The problem is that if there are present missing keys in a template that uses the missing text string into an title or alt tag, this SPAN will break the html.
    This can be checked in example if you try to "Click to Edit" any MX entry in the cPanel MX Editor for any given account.

    The "missinglangkey" css style works well when appears in the middle of normal text, but corrupts html or even a javascript if inserted inside an alt tag or inside a js variable.

    I don't know if this issue may be solved/mitigated. I hope so.
    Best regards.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,476
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You should add it to bugzilla so the developers know about it.
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Agreed. Reporting the issue here does not guarantee it will be noticed by the appropriate personnel.
     
Loading...

Share This Page