johnculviner/jquery.fileDownload — pull request #3 by doronhorwitz (2012-08-02 10:31:01+00:00)
Title: HTML Entity encoding before POST

Functionality to encode HTML entities for a POST, need this if data is an object with properties whose values contains strings with quotation marks.
HTML entity encoding is done using the htmlentities() function from the phpjs.org project.
Note that some browsers will POST the string htmlentity-encoded whilst others will decode it before POSTing.
It is recommended that on the server, htmlentity decoding is done irrespective.