The formatted endpoint identifies the "intro" for an article. It seems this intro is ill-defined to include any element that is not a p
For example:
{ "intro": "<p>The following is a list of the <b>highest-grossing films in <a href=\"./China\" title=\"China\">China</a></b> (excluding <a href=\"./Hong_Kong\" title=\"Hong Kong\">Hong Kong</a> and <a href=\"./Taiwan\" title=\"Taiwan\">Taiwan</a>), based on data by Entgroup's China Boxoffice (CBO) website with the gross in <a href=\"./Renminbi\" title=\"Renminbi\">yuan</a>.<span class=\"mw-ref\" id=\"cite_ref-1\"><a href=\"./List_of_highest-grossing_films_in_China#cite_note-1\" style=\"counter-reset: mw-Ref 1;\"><span class=\"mw-reflink-text\">[1]</span></a></span></p><div>\n<dl id=\"mwCA\"><dd id=\"mwCQ\"><i>Background colour <span style=\"background-color:#ffff80; color:; border:1px solid #000000; text-align:center;\"><span> </span><span> </span><span> </span><span> </span></span> indicates films that are currently in cinema</i></dd></dl>\n</div>", }
- A figure element is included for the following
- http://0.0.0.0:6927/en.wikipedia.org/v1/page/summary/BDSM
- http://0.0.0.0:6927/en.wikipedia.org/v1/page/formatted/BDSM
- http://0.0.0.0:6927/de.wikipedia.org/v1/page/formatted/Boeing%20747
- http://0.0.0.0:6927/de.wikipedia.org/v1/page/summary/Boeing%20747
- http://0.0.0.0:6927/bg.wikipedia.org/v1/page/summary/%D0%A1%D0%B0%D0%BD%D1%82%D0%BE%D1%80%D0%B8%D0%BD%D0%B8** http://0.0.0.0:6927/bg.wikipedia.org/v1/page/formatted/%D0%A1%D0%B0%D0%BD%D1%82%D0%BE%D1%80%D0%B8%D0%BD%D0%B8
- http://0.0.0.0:6927/de.wikipedia.org/v1/page/summary/Dave%20Gahan
- http://0.0.0.0:6927/de.wikipedia.org/v1/page/formatted/Dave%20Gahan
- http://0.0.0.0:6927/bg.wikipedia.org/v1/page/summary/%D0%9F%D0%B0%D0%BC%D0%B5%D1%82%D0%BD%D0%B8%D0%BA%20%D0%BD%D0%B0%20%D0%91%D1%83%D0%B7%D0%BB%D1%83%D0%B4%D0%B6%D0%B0
- A div element is included in
- A center element that contains a table (yuck!) is included:
Acceptance criteria
- Intro should exclude div, center and figure elements that follow the first p element.