Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Fixed Category Description: You may use HTML

Discussion in 'Showcase Resolved Bug Reports' started by MattW, Mar 20, 2013.

  1. MattW

    MattW Server Admin AMS Premium CAS Premium RMS Premium SC Premium UBS Premium

    If you use HTML in your category description, it's not escaped in the on hover tool tip


    <img src="http://www.z22se.co.uk/forum/styles/default/nflj/showcase/category_images/astra.png">
    <br><b>Astra G</b></br>
    to produce this


    the tooltip displays

    The resource manager is not passing any HTML into the tooltip for comparison
    Bob likes this.
  2. Bob

    Bob Developer Staff Member

    ah crap... I completely forgot to add that in.. just needs the stripHtml helper (I think). Lemme test something really quick and then I can have you test it to see if it works for you.
    MattW likes this.
  3. Bob

    Bob Developer Staff Member

    Just needed to add the striphtml helper to the title attribute of the href (line 42 of the nflj_showcase_index_sidebar template)

    title="{xen:helper striphtml, $cat.category_description}"
    Should probably also apply it to the alt attribute as well..
    alt="{xen:helper striphtml, $cat.category_description}"
    MattW likes this.
  4. MattW

    MattW Server Admin AMS Premium CAS Premium RMS Premium SC Premium UBS Premium

    Yep, just done that with a quick TMS edit, and that sorts it.
    Bob likes this.
  5. Bob

    Bob Developer Staff Member

    right on.... just made the edits final and will be in the next release :)
    MattW likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.