diff --git a/mod/lti/classes/output/repost_crosssite_page.php b/mod/lti/classes/output/repost_crosssite_page.php index e7c3501b52e..23fc2cc679d 100644 --- a/mod/lti/classes/output/repost_crosssite_page.php +++ b/mod/lti/classes/output/repost_crosssite_page.php @@ -56,7 +56,7 @@ class repost_crosssite_page implements renderable, templatable { */ public function __construct(string $url, array $post) { $this->params = array_map(function($k) use ($post) { - return ["key" => $k, "value" => str_replace("\"", """, $post[$k])]; + return ["key" => $k, "value" => $post[$k]]; }, array_keys($post)); $this->url = $url; } diff --git a/mod/lti/templates/repost_crosssite.mustache b/mod/lti/templates/repost_crosssite.mustache index 84cacbc32b9..f44b4379024 100644 --- a/mod/lti/templates/repost_crosssite.mustache +++ b/mod/lti/templates/repost_crosssite.mustache @@ -37,9 +37,9 @@ } }} -
+ {{#params}} - + {{/params}}