specify / specify7

Specify 7
https://www.specifysoftware.org/products/specify-7/
GNU General Public License v2.0
66 stars 36 forks source link

Field captions with a newline character are shown verbatim #4839

Open grantfitzsimmons opened 6 months ago

grantfitzsimmons commented 6 months ago

Describe the bug Historically, to break a field caption in Specify 6, it was necessary to add a \n new line character. In v7.9.3.1, this is hidden and respected. In edge (7.9.4), this is not displaying as expected.

To Reproduce Steps to reproduce the behavior:

  1. Add \n somewhere in a field caption
  2. Add the field to the form
  3. See that the \n is shown in the name when it should be interpreted as a newline character

Expected behavior It should be respected and not visible as it was previously.

Screenshots Left is edge, right is v7.9.3.1

image

edge:

image

v7.9.3.1:

image

The field is properly displayed in the query builder when it is shown elsewhere in the edge version.

image

Crash Report Specify 7 System Information - 2024-04-25T14_26_41.613Z.txt

emenslin commented 4 months ago

\n did not show up in the name (7.9.6), however it does not seem to be working consistently either so leaving this open