From b065ddd7ed6a888e3d34f138a766ffdfd55ecb4d Mon Sep 17 00:00:00 2001 From: alec Date: Tue, 18 May 2010 10:25:29 +0000 Subject: - Some files from /bin + spellchecking actions moved to the new 'utils' task git-svn-id: https://svn.roundcube.net/trunk@3627 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/utils/html2text.inc | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 roundcubemail/program/steps/utils/html2text.inc (limited to 'roundcubemail/program/steps/utils/html2text.inc') diff --git a/roundcubemail/program/steps/utils/html2text.inc b/roundcubemail/program/steps/utils/html2text.inc new file mode 100644 index 000000000..ff2b40e6b --- /dev/null +++ b/roundcubemail/program/steps/utils/html2text.inc @@ -0,0 +1,28 @@ + | + +-----------------------------------------------------------------------+ + + $Id$ + +*/ + +$converter = new html2text($HTTP_RAW_POST_DATA); + +header('Content-Type: text/plain; charset=UTF-8'); +print trim($converter->get_text()); +exit; + +?> -- cgit v1.2.3