Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
Steven Jones CreditAttribution: Steven Jones commentedHmm...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.