Hello,
We have done some tests and everything is working fine. Please run the included sample in examples/Templates/replaceVariableByHTML and check the output. Maybe Tidy is missing on your server or there're something wrong on the script you're running?
If you still have the issue please post (or send to contact[at]phpdocx.com) the most simple script that illustrate the issue.
Regards.