Journal article no longer displaying correctly

Please fill out the following sections to the best of your ability, it will help us investigate bugs if we have this information at the outset. Screenshots are especially helpful, so please provide those if you can.

Platform (Android, iOS, Website): website

App version number, if a mobile app issue (shown under Settings or About):

Browser, if a website issue (Firefox, Chrome, etc) : chrome

URLs (aka web addresses) of any relevant observations or pages:

Screenshots of what you are seeing (instructions for taking a screenshot on computers and mobile devices: https://www.take-a-screenshot.org/):

Description of problem (please provide a set of steps we can use to replicate the issue, and make as many as you need.):

Step 1: Go here: https://www.inaturalist.org/posts/16497-how-to-photograph-crayfish-for-inaturalist

The page used to include pictures, but now it only includes URLs of the picture locations. There may be other problems as well, like formatting.

1 Like

It is probably this issue …
Journal posts have lost formatting - General - iNaturalist Community Forum

2 Likes

We recently fixed a bug with processing user text that was breaking layouts, but it required changing the way we format user text a little. The specific problem here is how we handle newlines: they’re getting replaced with <br> tags even when they’re inside of other HTML tags. We’ll look into restoring the way it worked before, but I can’t make any promises. Juggling combinations of simple text formatting, Markdown, and HTML is complicated.

Anyway, if you want a quick fix, get rid of the newlines inside of your HTML tags, so change this

<img
src="https://inaturalist-open-data.s3.amazonaws.com/photos/17793835/original.jpg?1526058900"
width="500">

to this:

<img src="https://inaturalist-open-data.s3.amazonaws.com/photos/17793835/original.jpg?1526058900" width="500" >
3 Likes

I made the changes you suggested and that fixes the issue. Thanks!

1 Like