Item8077: SyntaxHighlightingPlugin uses IPC::Run, but could it use Foswiki::Sandbox?
Priority: Urgent
Current State: Closed
Released In: n/a
Target Release:
Don't have the time to look at this now, but it looks like something that could be improved. Anyone else is free to pick this up if they have a need/interest.
--
AndrewJones - 17 Mar 2009
Maybe it can't, as the code block needs to be passed to enscript as STDIN, and I can't see a way to do this with Foswiki::Sandbox.
An alternative would be to save code to tmp file and pass that file to enscript.
We could also cache the output, so the code is only generated on save.
--
AndrewJones - 05 May 2011
Done as per
Item15082
--
MichaelDaum - 26 Apr 2022