Don't use < and > in meta descriptions

RESOLVED FIXED

Status

RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: teoli, Unassigned)

Tracking

(Blocks: 1 bug)

Details

(URL)

(Reporter)

Description

6 years ago
If we have <text> in the first paragraph, they are copied unchanged in the meta description and og description of the page.

As these strings are not HTML, this is incorrect and < & > should be used.

This hurt our SEO as Google strips the whole &lt;text&gt; out of the description it displays making the description unintelligible.

Example of page where it happens in the URL.
(Reporter)

Updated

6 years ago
Blocks: 788451
No longer depends on: 788451

Comment 1

6 years ago
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/b7215ff52e72f5da55a0ff63bc0437cae210f70e
fix bug 790513 - Remove HTML from SEO descriptions

https://github.com/mozilla/kuma/commit/92fdd7735a762ed35bbd608e3f3c31e50572ba6d
Merge pull request #586 from darkwing/dont-use-790513

fix bug 790513 - Remove HTML from SEO descriptions

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Assignee)

Updated

6 years ago
Version: Kuma → unspecified
(Assignee)

Updated

6 years ago
Component: Docs Platform → Editing
Product: Mozilla Developer Network → Mozilla Developer Network
You need to log in before you can comment on or make changes to this bug.