Skip to content

Commit

Permalink
fix for travis (joomla#12)
Browse files Browse the repository at this point in the history
* fix travis error

* CS
  • Loading branch information
wojsmol authored and zero-24 committed May 14, 2016
1 parent 6aa2082 commit 972ba4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion administrator/templates/hathor/component.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
}

// Load specific language related CSS
$file = 'language/' . $lang->getTag() . '/' . $lang->getTag().'.css';
$file = 'language/' . $lang->getTag() . '/' . $lang->getTag() . '.css';

if (JFile::exists($file))
{
Expand Down
6 changes: 3 additions & 3 deletions libraries/joomla/document/opensearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ public function render($cache = false, $params = array())
$elOs = $xml->createElementNs($osns, 'OpenSearchDescription');

$elShortName = $xml->createElementNs($osns, 'ShortName');
$elShortName->appendChild($xml->createTextNode(htmlspecialchars($this->_shortName), ENT_COMPAT, 'UTF-8'));
$elShortName->appendChild($xml->createTextNode(htmlspecialchars($this->_shortName, ENT_COMPAT, 'UTF-8')));
$elOs->appendChild($elShortName);

$elDescription = $xml->createElementNs($osns, 'Description');
$elDescription->appendChild($xml->createTextNode(htmlspecialchars($this->description), ENT_COMPAT, 'UTF-8'));
$elDescription->appendChild($xml->createTextNode(htmlspecialchars($this->description, ENT_COMPAT, 'UTF-8')));
$elOs->appendChild($elDescription);

// Always set the accepted input encoding to UTF-8
Expand All @@ -151,7 +151,7 @@ public function render($cache = false, $params = array())
$elImage->setAttribute('type', $image->type);
$elImage->setAttribute('width', $image->width);
$elImage->setAttribute('height', $image->height);
$elImage->appendChild($xml->createTextNode(htmlspecialchars($image->data), ENT_COMPAT, 'UTF-8'));
$elImage->appendChild($xml->createTextNode(htmlspecialchars($image->data, ENT_COMPAT, 'UTF-8')));
$elOs->appendChild($elImage);
}

Expand Down

0 comments on commit 972ba4f

Please sign in to comment.