Skip to content

Commit

Permalink
Merge pull request #4 from gggeek/EZP-25068
Browse files Browse the repository at this point in the history
Fix EZP-25068: make the xslt converter accept windows paths
  • Loading branch information
andrerom committed Dec 19, 2015
2 parents efadb8e + 49b85de commit 1f0a350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/FieldType/XmlText/Converter/Html5.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ protected function getXSLTProcessor()

$newEl = $xslDoc->createElement('xsl:import');
$hrefAttr = $xslDoc->createAttribute('href');
$hrefAttr->value = $stylesheet;
$hrefAttr->value = str_replace('\\', '/', $stylesheet);
$newEl->appendChild($hrefAttr);
$xslDoc->documentElement->insertBefore($newEl, $insertBeforeEl);
}
Expand Down

0 comments on commit 1f0a350

Please sign in to comment.