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

Default meta description contents contained HTML #75

Closed

Conversation

mnoorenberghe
Copy link
Contributor

<span dir="auto"> was included in the default meta description attribute.

Reported at http://www.webtrees.net/index.php/en/forum/4-customising/28726-facebook-login-link-from-webtrees-site

@fisharebest
Copy link
Owner

Here, we are escaping the description twice - once in WT_Page::pageHeader() and again in header_links()

Instead of "escaping, unescaping, escaping", it is a little cleaner to "escape, strip_tags"

Fix committed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants