I have fixed the issuse with the text=”sometext” issue.
download the “cutter plugin”
find all examples of [cut] and replace them with [lj-cut]
find all examples of [/cut] and replace them with [/lj-cut]
find all examples of [cut=\”.+\”\] replace it with [lj-cut text=\”.+\”\]
find all examples of [cut=”‘,'”] and replace with [lj-cut text=”‘,'”]
finally, open lpsynch.php and add in this code.
// Fix lj-tags hack
$the_event = preg_replace("/([[{<~])(lj-cut)([]}>~])/i", "<2>" , $the_event);
$the_event = preg_replace("/([[{<~])(lj-cut text="(.+)")([]}>~])/i", "<2>" , $the_event);
$the_event = preg_replace("/([[{<~])(/?lj-cut)([]}>~])/i", "<2>" , $the_event);
$the_event = convert_chars($the_event, "html");
Now my cuts behave like a proper lj-cut would on both lj and wordpress.