Skip to content
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

Remove HTML-Tags from Title #93

Open
stefanvar opened this issue Feb 2, 2018 · 1 comment

Comments

@stefanvar
Copy link

commented Feb 2, 2018

Is it possible to remove HTML-Tags from tx_news.title in the sitemap?

Should be very easy with a strip_tags() around the title. Or is there another solution?

NewsSitemapRenderer (line 101)
$content .= '<news:title>' . htmlspecialchars(strip_tags($title)) . '</news:title>';

@dmitryd

This comment has been minimized.

Copy link
Owner

commented Feb 3, 2019

I believe that in the standard news configuration title is not supposed to have any html tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.