This was their suiteanswer solution which i was lo...
# advancedpdf
c
This was their suiteanswer solution which i was looking into at first..but it only matches the 1st & so its wrong either way since ?html is what you should use.
m
fwiw I would use
name.replace(/&/g, '&')
up until a half hour ago.
c
right it'll work fine for a single &
nm im thinking the match ignore me
i did try it last night and it was only catching the 1st one maybe my logic was just wrong and Im wrong here
name = 'Chris & Reece & Matt & Dahse'; undefined name.replace(/&/g, '&') "Chris & Reece & Matt & Dahse"