It's not covered in the docs, but I'm trying to...
# avo-2
m
Thread automatically created by rickychilcott in #740893011994738751
l
Hey @strong-restaurant-36788 i think the third argument is interpeted as innerHTML, not sure if possible to render HTML in the description with the current code. I see that the use case is to render a link right? If that is the case maybe this feature fits https://docs.avohq.io/2.0/search.html#search-result-path
s
That won’t work for my purposes because I want my admin to be able to look at the user resource or the provided link to quickly masquerade as a user.
So your current working theory is that json results object that is coming back from the search results, is escaping the HTML for description?
@loud-jewelry-99127 ^
l
I'm not sure what is making the HTML to escape, I'll "play around" with it to figure out. Anyway even if the HTML applyes as expected i thing it would not work on this case, the entire div is a link
I suggest an alternative approach where you create an action to mascarade even if it would need some extra steps like clicking on the search result, then invoking the action
s
I’ve already done that. That’s just more clicks than I was hoping for. Would this be a reasonable request for Avo 3? Perhaps actions that could be attached to search results?
l
We're considering to improve the search experience and most probably the search results would not work / look the same, actions and some custom controls on the results is more than reasonable request