Closed basz closed 7 years ago
the source of error seems came from https://github.com/zendframework/zend-view/blob/4d9954c05a3981ca711bd55932dc1d2b55580392/src/Helper/HeadMeta.php#L337-L342
@basz
Is that expected?
Right, because XHTML has no attribute charset
for the meta element.
Use http-equiv
:
$this->headMeta()->appendHttpEquiv('Content-Type', 'application/xhtml+xml; charset=utf-8');
We should add a check or throw an Exception
for this case.
@basz @froschdesign I've created PR #137 for it.
thanks all!
@basz Thanks for reporting! 👍
I'm getting an error when I set the charset on a rdfa document. Is that expected? Or an oversight?
Further; following the suggestion in the error gives me an error too.