Visiting https://en.wikipedia.org/w/api.php?formatversion=2&format=json&action=parse&prop=text|modules|langlinks&page=Spain&useskin=vector in an incognito window I see the content is double wrapped with two div.parser-output elements.
{"warnings":{"parse":{"warnings":"Property \"modules\" was set but not \"jsconfigvars\" or \"encodedjsconfigvars\". Configuration variables are necessary for proper module usage."}},"parse":{"title":"Spain","pageid":26667,"text":"<div class=\"mw-parser-output\"><div class=\"mw-parser-output\">
Expected: it should not be double wrapped. There should only be one of these elements.
This breaks various client expectations (including a tool reading web use for QA)