Highlighter is not working for href elements

Hello Friends
I have a custom keyword for highlighting the text on web pages. It is working fine for plain text not for the hrefs. Here is the code:

CustomKeywords.‘mypackage.myhighlight.run’(findTestObject(‘directory/a_Report’))

can someone please help me?