You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Guardian Open Platform API Forum
You can put the bodyText value in show-fields to get the unwrapped bodyText on lookup. I've been using regular expressions to handle things like periods and quotes to get the newlines, but the number of cases is overwhelming and I need help. How would be the smartest way to handle newlines?
Emily Bourke
unread,
Oct 24, 2024, 4:50:14 AMOct 24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Guardian Open Platform API Forum
Hi,
I’m afraid I don’t have any tricks for this! It does strike me though that it’d probably be easier to start with the body field, and then you could remove "<p>" tags and replace "</p>" tags with a newline.