elegantthemes / Divi-Beta

8 stars 0 forks source link

TextArea:: Line Breaks (D5 front-end) #92

Open jcdotnet opened 1 month ago

jcdotnet commented 1 month ago

Problem Description

  1. Describe what you did

I added a text area field and entered a value with line breaks:

Line 1 Line 2 Line 3

  1. Describe what you expected to happen I expected to detect the lines the user has entered to create a table like this:
<tr>
  <td> Line 1 </td>
</tr>
<tr>
  <td> Line 2 </td>
</tr>
<tr>
  <td> Line 3 </td>
</tr>
  1. Describe what actually happened In Divi 5 the entered value appears in one line only:

Divi 4 var_dumpoutput: string(32) "Line 1 Line 2 Line 3"

Divi 5 var_dumpoutput: string(20) "Line 1 Line 2 Line 3"

As a result, I cannot create the table above in Divi 5.

Related Links or Information

If applicable, please provide links to any related issues, PRs, discord discussions, or other information.

System Information