Closed Bug 840550 Opened 11 years ago Closed 11 years ago

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

Categories

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

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: openjck, Unassigned)

Details

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

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.
As far as user-facing design, the only change should be those described in the section "What should have happened".
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
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.