Modify

Opened 14 months ago

Closed 14 months ago

Last modified 14 months ago

#23095 closed defect (fixed)

[PATCH] Missing space after name template output

Reported by: matthijs Owned by: team
Priority: trivial Milestone: 23.08
Component: Core Version: latest
Keywords: Cc:

Description (last modified by matthijs)

When using a preset for a relation with name_template specified, the output of the name template gets the number of members appended, but no space is inserted after the template.

Screenshot:

https://josm.openstreetmap.de/raw-attachment/ticket/23095/Screenshot-20230802002830-498x56.png

This is a trivial fix, I'll attach a patch to fix it too. Suggested commit message:

add space between relation name_template output and other info

Alternatively, you can cherry-pick this commit from https://github.com/JOSM/josm/pull/75

This came up while working on https://github.com/JOSM/josm/pull/75 and looking at #4596, but since those need some further consideration and this is a trivial fix that can be applied (IMHO) right away, I'm filing a separate issue.

Attachments (2)

Screenshot-20230802002830-498x56.png (11.2 KB ) - added by matthijs 14 months ago.
Screenshot of the issue
0001-add-space-between-relation-name_template-output-and-.patch (1.0 KB ) - added by matthijs 14 months ago.
Patch

Download all attachments as: .zip

Change History (6)

by matthijs, 14 months ago

Screenshot of the issue

comment:1 by matthijs, 14 months ago

Description: modified (diff)

comment:2 by gaben, 14 months ago

Milestone: 23.08

comment:3 by taylor.smock, 14 months ago

Resolution: fixed
Status: newclosed

In 18795/josm:

Fix #23095: Missing space after name template output (patch by matthijs)

comment:4 by gaben, 14 months ago

Priority: normaltrivial

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.