HTML tags are replaced with empty spaces in meta descriptions, search engine results

RESOLVED FIXED

Status

Mozilla Developer Network
General
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: openjck, Unassigned)

Tracking

Details

(Whiteboard: [specification][type:bug])

(Reporter)

Description

5 years ago
What did you do?
================
1. Do a Google search for "dom site:developer.mozilla.org"
2. Do a Google search for "css site:developer.mozilla.org"

What happened?
==============
The results are formatted like this:

> The Document Object Model ( DOM ) is an API for HTML...

> Cascading Style Sheets , most of the time abbreviated
> in CSS , is a stylesheet language...

What should have happened?
==========================
The results should be formatted like this:

> The Document Object Model (DOM) is an API for HTML...

> Cascading Style Sheets, most of the time abbreviated
> in CSS, is a stylesheet language...

Is there anything else we should know?
======================================
It appears that this happens whenever a term is surrounded by HTML tags. In the example above, "DOM", "Cascading Style Sheets", and "CSS" are all surrounded by tags.
(Reporter)

Comment 1

5 years ago
As far as user-facing design, the only change should be those described in the section "What should have happened".

Comment 2

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

https://github.com/mozilla/kuma/commit/87c326191c7ae80c9a72f53ca331741aedc563c1
fix bug 840550 - fix PyQuery punctuation spacing

https://github.com/mozilla/kuma/commit/0e269c8344c4c28957f13a715654242e51e0da1c
Merge pull request #857 from groovecoder/seo-meta-html-spaces-840550

fix bug 840550 - fix PyQuery punctuation spacing

Updated

5 years ago
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.