New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RSS feed does not deliver well formed xml #4439
Comments
I can reproduce the issue, at least with Atom feeds. Reproduction:
The generated XML feed will be invalid, since the HTML5 output is used within <content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
…
</div>
</content> but only XHTML is supported there - and thus things like |
The problem is our In Atom you can provide the content also as |
We should not use this method anymore - it's already marked as deprecated by the way. 🙈 |
It's not marked as deprecated as far as I can see: contao/core-bundle/src/Resources/contao/library/Contao/StringUtil.php Lines 481 to 488 in 00433ab
|
It is in 4.13:
|
Yes, but this error happens in 4.9 and deprecating that method should not have been done in 4.13, as Contao still uses that method - even in 4.13 and 5.x. In 5.x Atom feeds are currently broken completely because of that, since the method was already removed. In any case, if we can remove its usage in 4.9, we can start properly deprecating it in 4.9. |
There was not even a rationale why it should be deprecated (only IMO) |
@bwl21 it should be deprecated, because it is out of date (see above). But we need to provide an alternative first. |
Affected version(s)
4.9.27
Description
there are situations where contao delivers xml with minimized attributes
I could fix it for my installation in
picture_default.html5:5
by adding an end tag to<source>
maybe this should be fixed in the core.
The text was updated successfully, but these errors were encountered: