Last modified: 2010-08-21 16:41:48 UTC
Steps: 1. Enable JavaScript preview. 2. To an empty page add something in a source tag e.g. <source lang="css"> li[id^="pt-prefswitch-"], li[id^="pt-optin-"] {display:none !important} </source> 3. Run preview. Expected: Same preview as without JS. Result: The text seem to be unparsed. This is because geshi extension produces CSS for the language inside the generated page and JS preview. You might say this is a bug in geshi, but geshi works fine without JS and there might be more cases like that with other extensions.
JS preview doesn't load everything it needs, like the CSS. I don't understand why the option to enable it is shown by default.
For this to work, the common/preview.js script would need to be switched to use the api.php parse with "headitems" option I think.
*** This bug has been marked as a duplicate of bug 24134 ***