Skip to content

Commit

Permalink
[FEATURE] Fixed the issue with entities conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
stellalie committed Feb 5, 2016
1 parent 693f189 commit 3104752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Processors/QtiV2/In/Processings/MathsProcessing.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function processAssessmentItem(AssessmentItem $assessmentItem)
// Remove prefix if exists for conversion
// ie. <m:math> to just <math>
$element->removeAttributeNS($element->namespaceURI, $element->prefix);
$component->setXmlString($element->ownerDocument->saveHTML());
$component->setXmlString($element->ownerDocument->saveXML());
// Remove MathML namespace declaration
$component->setTargetNamespace('');
$this->hasMathML = true;
Expand Down

0 comments on commit 3104752

Please sign in to comment.