civicrm / org.civicrm.civicase

CiviCase Extension
Other
9 stars 35 forks source link

Extraneous nl2br in Activity details #116

Closed mlutfy closed 6 years ago

mlutfy commented 6 years ago

How to reproduce on http://dcase.demo.civicrm.org :

Result:

capture d ecran de 2018-08-29 17-50-16

In the above, you can see that "Line 1" and "Line 2" have a lot of space between them. Inspecting the HTML, it shows that some extra 'br' tags were added between the paragraphs.

If we edit the activity again, the HTML looks OK:

capture d ecran de 2018-08-29 17-51-35

(the newlines in the above screenshot are what made me assume this is a nl2br bug)

mlutfy commented 6 years ago

I think this might be caused by: https://lab.civicrm.org/dev/core/issues/2

mlutfy commented 6 years ago

Closing in favour of: https://lab.civicrm.org/dev/core/issues/379