CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Note field does not display breaks when viewing
Pages: [1]

Author Topic: Note field does not display breaks when viewing  (Read 814 times)

DMA

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal 7.4
  • MySQL version: 5.1.52
  • PHP version: 5.2.16
Note field does not display breaks when viewing
July 14, 2011, 10:29:35 am
D7/D4.0.3

I know that this has been mentioned (and fixed) before but when our users enter returns into a note field the carriage returns are not shown when viewing. They are when editing.

I've just tried this on the demo and got the same result

DMA

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal 7.4
  • MySQL version: 5.1.52
  • PHP version: 5.2.16
Re: Note field does not display breaks when viewing
July 29, 2011, 06:29:57 am
Does the lack of any reply mean that this is working-as-designed? Or does no-one else suffer from this phenomenon?

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Note field does not display breaks when viewing
July 29, 2011, 07:16:36 am
Hi,

I would assume that's a bug. The solution discussed for a similar issue for activities was to test if the content contains any html tag, and if it's a plain text, tranform new lines to <br>

Could you implement a fix?

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Note field does not display breaks when viewing

This forum was archived on 2017-11-26.