Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This feels like a really dumb question but, when I view nodes in my drupalgap app, none of the node content recognized line breaks. On my drupal website, the line breaks show fine, however in my app all of the content is in one big wall of text.
How do you format the node content to be displayed with line breaks?
Comments
Comment #1
tyler.frankenstein CreditAttribution: tyler.frankenstein commentedIt should be formatted automatically. What input format are you using, and what type of filters are on it? Also, please share the JSON output for your node in question. Do a GET on
?q=drupalgap/node/123.json
and share that output.Comment #2
WillsCreative CreditAttribution: WillsCreative commentedIt seems like it only happens on forum pages (forum/123) and in comments that don't recognize the line breaks. Other nodes display fine