Sebastien Vauban <sva-news-D0wtAvR13HarG/idocf...@public.gmane.org> writes:
> Though, when executed interactively on an HTML buffer, it does work as > expected. > > I don't get what's wrong... Maybe one of you can have an idea? What's wrong is that (with-output-to-string (shell-command-on-region ...)) will not give you what you want, since the output of (shell-command-on-region ...) is not sent to standard-output. -- Bastien