Bugs
Under Review

Android widget: code blocks lose their line breaks

On Android, the home screen widget that shows the contents of an object doesn't handle multi-line code blocks correctly. A code block with several lines displays fine in the app, but in the widget the line breaks aren't preserved, so the lines don't show up as separate lines:

Steps to reproduce:

  1. In the Android app, create a note (or open any object) and add a code block with several lines, for example: line one / line two / line three, each on its own line.
  2. On the Android home screen, add the Capacities widget that shows an object's contents, and set it to that note.
  3. Look at the code block in the widget.

Expected: the code block keeps its line breaks, the same as in the app.

Actual: the multi-line code block isn't displayed correctly in the widget; the line breaks are lost.

0 Comments

Sign in to comment

No comments yet. Be the first to share your thoughts!