Project

General

Profile

Feature #31231

Updated by Go MAEDA about 5 years ago

In the email receiving feature, each cell in HTML tables is converted to a single line with blank lines before and after. As a result, a table is converted to a long sparse text and the appearance is not good. 

 I think we can improve the appearance and readability by grouping the converted text by row. 

 *[Input]* [Input] 
 <pre> 
 <table> 
   <tr> 
     <th>Name (en)</th> 
     <th>Name (fr)</th> 
     <th>Code</th> 
   </tr> <tr> 
   <tr> 
     <td>red</td> 
     <td>rouge</td> 
     <td>#ff0000</td> 
   </tr> <tr> 
   <tr> 
     <td>green</td> 
     <td>vert</td> 
     <td>#00ff00</td> 
   </tr> <tr> 
   <tr> 
     <td>blue</td> 
     <td>bleu</td> 
     <td>#0000ff</td> 
   </tr> <tr> 
 </table> <table> 
 </pre> 

 *[Output (before)]* 
 <pre> 
 Name (en) 

 Name (fr) 

 Code 

 red 

 rouge 

 #ff0000 

 green 

 vert 

 #00ff00 

 blue 

 bleu 

 #0000ff 
 </pre> 


 *[Output (after)]* 
 <pre> 
 *Name (en)* 
 *Name (fr)* 
 *Code* 

 red 
 rouge 
 #ff0000 

 green 
 vert 
 #00ff00 

 blue 
 bleu 
 #0000ff 
 </pre>

Back