Skip to content
Snippets Groups Projects
Commit 5c13a849 authored by Edmund Farrow's avatar Edmund Farrow
Browse files

iss1217 - Fix mathjax url for PHP 8.2

parent 8a02ce87
No related branches found
No related tags found
No related merge requests found
......@@ -204,7 +204,7 @@ function stack_get_mathjax_url(): string {
$urlstring = substr($mathjaxconfigurl, 0, $questionpos);
parse_str($querystring, $queryparams);
$queryparams = array_merge(['config' => 'TeX-AMS-MML_HTMLorMML'], $queryparams);
$querystring = http_build_query($queryparams, null, '&', PHP_QUERY_RFC3986);
$querystring = http_build_query($queryparams, '', '&', PHP_QUERY_RFC3986);
$url = $urlstring . '?' . $querystring;
} else {
$url = $mathjaxconfigurl . '?config=TeX-AMS-MML_HTMLorMML';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment