On Thursday,  8 Sep 2016 at 17:54, Nick Dokos wrote:
> Can you add a post-processing hook? A simple text replacement might be enough.

This worked very well:

#+begin_src emacs-lisp :exports results :results none
  (defun add-wrap-to-textarea (text backend info)
    (when (org-export-derived-backend-p backend 'html)
      (replace-regexp-in-string "<textarea " "<textarea wrap=\"off\" " text)))
  (add-to-list 'org-export-filter-final-output-functions 'add-wrap-to-textarea)
#+end_src

Thanks again,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.94.1, Org release_8.3.4-655-g9fb077

Reply via email to