attached a patch that modifies the call to token_replace so tokens without replacements will not output the raw token and a custom callback (that uses filter_xss) is used to sanitize so html tags can be used in tokens

Comments

djdevin’s picture

Status: Active » Needs review
kyoder’s picture

StatusFileSize
new1.06 KB

updating patch to use filter_xss_admin for a broader range of html tags

  • djdevin committed 9924362 on 7.x-2.x authored by kyoder
    Issue #2407263 by kyoder: Tokens need to be able to have html
    

  • djdevin committed 77703ce on 7.x-2.x authored by kyoder
    Issue #2407263 by kyoder: Tokens need to be able to have html
    
djdevin’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.