arvgta / ajaxify

Ajaxify - An Ajax Plugin
https://4nf.org/
274 stars 124 forks source link

Fix execution of inline scripts in CDATA #98

Closed NZX-DeSiGN closed 8 years ago

NZX-DeSiGN commented 8 years ago

Fix for issue #97

Inline scripts in CDATA were not executed.

.text() doesn't care about comments around CDATA and return empty script so I used .html() to get the script with CDATA.

arvgta commented 8 years ago

Thanks very much Nicolas! There are now different errors on 4nf.org, but that is my problem... Great stuff!