There's an option for panopoly_magic_strip_js_from_preview in panopoly magic, but it only applies when automatic pane previews are disabled. This patch makes it apply when they are enabled.

Comments

beeradb’s picture

Status: Active » Needs review
StatusFileSize
new18 KB

Sorry for the noise in this patch. My editor automatically strips trailing spaces.

Removing trailing spaces is a decent fix anyway, but I'm happy to re-roll without the fuzz if needed. The relevant portion is lines 416-419

populist’s picture

StatusFileSize
new854 bytes

Here is a quick re-roll of the patch to remove the fuzz.

populist’s picture

Status: Needs review » Fixed

Looks good. I cleaned up the fuzz, removed the unnecessary stripping of the previews, and committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.