escape strings passed as parameters to function call showPortalPosLinks
fix #259