[OSM-dev] Line breaks in changeset comments

Tom Hughes tom at compton.nu
Wed Apr 1 21:43:01 UTC 2015


On 01/04/15 22:27, Antje wrote:

> I recently posted a changeset comment with line breaks but they do not
> show up – well, at least in practice.
>
> Example of the issue.
> - http://www.openstreetmap.org/changeset/29891202
>
> Check the HTML code of the page: the line breaks are where the paragraph
> tags end and then start.

Changeset comments, like notes, are treated as plain text because they 
need to be rendered in a narrow side bar so allowing full markdown is 
not really a good idea. A double newline will therefore be required to 
get a paragraph break.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://compton.nu/



More information about the dev mailing list