You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
do they work interchangeably? i thought i saw the example with a different apostrophe order than the one i am using - in my case the order i have doesn't seem to work. the data being treated isnt even printed. it actually seems to break the line of code it is in, which is a simple elemnt creation, with the img's default attributes, src, alt and title.
using encodeForHTML allows the data to be printed, but the data is not treated correctly, as the single apostrophe in the data closes the attribute...
here is the code, ive interchanged the apostrophes but the result (fail) is the same..i dont know why. is the img title attribute not an attribute?
@ricmetal - I am working on resurrecting this project a little, and going through these old issues. Can you confirm that this is still an open issue for you?
is there any problem with reverting the order of apostrophes:
title= ' " + $.encoder.encodeForHTMLAttribute(var) + " '
and
title= " ' + $.encoder.encodeForHTMLAttribute(var) + ' "
do they work interchangeably? i thought i saw the example with a different apostrophe order than the one i am using - in my case the order i have doesn't seem to work. the data being treated isnt even printed. it actually seems to break the line of code it is in, which is a simple elemnt creation, with the img's default attributes, src, alt and title.
using encodeForHTML allows the data to be printed, but the data is not treated correctly, as the single apostrophe in the data closes the attribute...
here is the code, ive interchanged the apostrophes but the result (fail) is the same..i dont know why. is the img title attribute not an attribute?
The text was updated successfully, but these errors were encountered: