Hi,

I have a problem with special characters when using remote rendering : for example, "&" and "<" are replaced by their HTML entities, so they are not interpreted by the latex command. I think it's due to the call of "htmlentities" function before sending the http request.

I personaly replace in drutex_remote.inc (in the remote server) this line (312) :
$text = $_REQUEST['text'];

by this one :
$text = html_entity_decode($_REQUEST['text']);

but I don't know if it can cause other security issues.

Sorry for my poor english :)
Thanks

Comments

Steven Jones’s picture

Hmm...I think that actually the $_REQUEST array values do go through html_entity_decode already? I suspect the issue might be with something else escaping those entities before DruTeX gets a chance to process them.