Opened 12 years ago

Last modified 12 years ago

#9418 closed enhancement

Linebreaks within notes — at Version 8

Reported by: skyper Owned by: ToeBee
Priority: normal Milestone:
Component: Core notes Version:
Keywords: line break github Cc: iandees

Description (last modified by skyper)

On the web interface it is possible to add a line break and start a new line or even paragraph.

The plugin:

  1. does not render theses new lines (defect) (fixed)
  2. does not allow to add breakpoints (enhancement)

Change History (8)

comment:1 by skyper, 12 years ago

Cc: iandees added

comment:3 by ToeBee, 12 years ago

This is because the tooltip is using HTML to render the note text and line breaks aren't being translated into <br/>

comment:4 by ToeBee, 12 years ago

Disregard my previous comment. We were attempting to replace \n with <br/> but the encode method was changing \n into &#xA; (the newline XML entity) so the substitution wasn't matching anything.

comment:6 by ToeBee, 12 years ago

Well technically the 2nd point hasn't been fixed. But I think that is going to be a lot more work since it will require moving away from a simple dialog display to a custom pop-up window with a JTextArea or something like that. Should probably be its own enhancement ticket since I'm not going to get to that right now.

comment:7 by simon04, 12 years ago

Ups, sorry, I overlooked the 2nd item when closing this issue …

in reply to:  7 comment:8 by skyper, 12 years ago

Description: modified (diff)
Resolution: fixed
Status: closedreopened
Type: defectenhancement

Replying to ToeBee:

Well technically the 2nd point hasn't been fixed. But I think that is going to be a lot more work since it will require moving away from a simple dialog display to a custom pop-up window with a JTextArea or something like that. Should probably be its own enhancement ticket since I'm not going to get to that right now.

Replying to simon04:

Ups, sorry, I overlooked the 2nd item when closing this issue …

Think we do not need a new "trac" ticket might be different on github.

Note: See TracTickets for help on using tickets.