When using a skin that disables table of contents by adding "toc": false to skin.json like so:
` diff --git a/skin.json b/skin.json index 515b8c2..f4e9a6a 100644 --- a/skin.json +++ b/skin.json @@ -25,6 +25,7 @@ "skins.vector.es6", "skins.vector.js" ], + "toc": false, "templateDirectory": "includes/templates", "responsive": true, "styles": [
and visit http://localhost:8888/w/index.php?title=Table_of_contents_test&action=edit with JavaScript disabled and click "show preview"
I see the table of contents in the preview:
Expected: the preview should not show table of contents.