Ticket #1228 (new defect)

Opened 4 months ago

Last modified 2 months ago

[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

Changed 2 months ago by gogo

  • keywords patch added
  • summary changed from superClean php tidy handler to [PATCH?] superClean php tidy handler
Note: See TracTickets for help on using tickets.