Page MenuHomePhabricator

Geocoord paragraph should be skipped in summary
Closed, DuplicatePublic


Example: (the new implementation of the summary endpoint) shows extract_html of

"extract_html": "<p><span class=\"coordinates\" id=\"geocoord\">Souřadnice:<span> </span><span><span style=\"white-space:nowrap\">50°46′32″ s. š.,</span> <span style=\"white-space:nowrap\">15°32′11″ v. d.</span></span></span></p>"

instead of the following paragraph. The CSS has a special rule for #geocoord to move it out of the visible area (top:-3.7em).

I think we should remove the element with an id of geocoord from consideration to be the intro of an article.