Skip to content

Commit

Permalink
typo: missing dot.
Browse files Browse the repository at this point in the history
  • Loading branch information
fyra committed Feb 3, 2012
1 parent 8e556fb commit 46b3c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/domtemplate.php
Expand Up @@ -18,7 +18,7 @@ public function __construct ($filepath, $NS = '', $NS_URI = '', $document_encodi
$this->DOMDocument->loadXML (
//add XML declaration to avoid mangling non-ascii characters
// see http://www.php.net/manual/en/domdocument.loadxml.php#94291
"<?xml version=\"1.0\" encoding=\"$document_encoding\"?>"
"<?xml version=\"1.0\" encoding=\"$document_encoding\"?>" .
//replace HTML entities (e.g. "&copy;") with real unicode characters to prevent invalid XML
self::html_entity_decode (file_get_contents ($filepath)), LIBXML_COMPACT | LIBXML_NONET
) or trigger_error (
Expand Down

0 comments on commit 46b3c00

Please sign in to comment.