Ticket #1228 (new defect)
[PATCH?] superClean php tidy handler
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.96 |
| Component: | Plugins | Version: | trunk |
| Severity: | normal | Keywords: | patch |
| Cc: |
Description
I tried to setup a custom php tidy handler. It didn't work at all until I add this code to super-clean.js (0.95):
SuperClean.filterFunctions.tidy=function(_1d,_1e){
Xinha._postback(_1e.config.SuperClean.tidy_handler,{"content":_1d},function(_1f){
eval("var response = "+_1f);
switch(response.action){
case "setHTML":
_1e.setHTML(response.value);
break;
case "alert":
alert(Xinha._lc(response.value));
break;
}
});
};
Change History
Note: See
TracTickets for help on using
tickets.
