Merge pull request #158 from chrneumann/fix/badge-and-upload
Fix/badge and upload
This commit is contained in:
commit
5c97d8bc4f
2 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
import escapeHtml from "escape-html";
|
||||
import {OsmConnection, UserDetails} from "./OsmConnection";
|
||||
import {UIEventSource} from "../UIEventSource";
|
||||
import {ElementStorage} from "../ElementStorage";
|
||||
|
@ -105,7 +106,7 @@ export class ChangesetHandler {
|
|||
`<tag k="theme" v="${layout.id}"/>`,
|
||||
`<tag k="language" v="${Locale.language.data}"/>`,
|
||||
surveySource,
|
||||
layout.maintainer !== undefined ? `<tag k="theme-creator" v="${layout.maintainer}"/>` : "",
|
||||
layout.maintainer !== undefined ? `<tag k="theme-creator" v="${escapeHtml(layout.maintainer)}"/>` : "",
|
||||
`</changeset></osm>`].join("")
|
||||
}, function (err, response) {
|
||||
if (response === undefined) {
|
||||
|
|
|
@ -109,7 +109,7 @@ export class UserBadge extends UIElement {
|
|||
|
||||
const userName = new Link(
|
||||
new FixedUiElement(user.name),
|
||||
`https://www.openstreetmap.org/user/${user.name}'`,
|
||||
`https://www.openstreetmap.org/user/${user.name}`,
|
||||
true);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue