Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2009 at 22:59 UTC
Updated:
29 Jul 2014 at 18:06 UTC
Jump to comment: Most recent file
Comments
Comment #1
kswan commentedAttached is a patch that adds table functionality to the html_to_text() function. The pipe character is used to delimit the fields and a tab character is used to provide basic alignment of the columns (unfortunately the tabs are removed from this post).
Here is an example of the output:
Comment #2
samikhemiri commentedComment #3
damien tournoud commentedBumping to Drupal 8, now :(
Comment #4
pillarsdotnet commentedPlease consider merging this with the code in #299138-148: Improve \Drupal\Core\Utility\Mail::htmlToText()
Comment #5
pillarsdotnet commentedClosing this as the latest version of #299138: Improve \Drupal\Core\Utility\Mail::htmlToText() has excellent table support.