Skip to content

Commit

Permalink
Change parameter order
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed May 18, 2015
1 parent 990e14e commit fe41646
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dom/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public function load($content = null) {

libxml_use_internal_errors(true);

$string = mb_convert_encoding(trim($string), "HTML-ENTITIES", "utf-8");
$string = mb_convert_encoding(trim($string), "utf-8", "HTML-ENTITIES");
$this->domDocument->loadHTML($string);
}

Expand Down Expand Up @@ -330,4 +330,4 @@ public function __get($name) {
return $value;
}

}#
}#

0 comments on commit fe41646

Please sign in to comment.