Details
-
Bug
-
Resolution: Fixed
-
High
-
4.1.3
-
None
-
Operating System: All
PHP Version: (please be specific, like '4.4.3' or '5.1.5') All
Database and version: All
Browser (and version): All
Description
This method is used by the standard ezxml datatype's template for PDF view, but can't return proper output handler for PDF (see /kernel/classes/datatypes/ezxmltext/ezxmltext.php:153).
It seems that it comes from the code refactoring 4.0 -> 4.1 as the second parameter ($type) of this method is now unused in its code.
This cause PDF view to have ezxml attributes with eZHTMLXMLOutput handler, wich make them appear with html tags.
Steps to reproduce
- Create an object with an "XML Block" attribute.
- Fill this attribute with some html formated text
- Publish it
- View it with pdf view (content/pdf/<node id>)