Closed Bug 790513 Opened 13 years ago Closed 13 years ago

Don't use < and > in meta descriptions

Categories

(developer.mozilla.org Graveyard :: Editing, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: teoli, Unassigned)

References

()

Details

If we have &lt;text&gt; 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.
Blocks: 788451
No longer depends on: 788451
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
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Version: Kuma → unspecified
Component: Docs Platform → Editing
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.