Fix upload for maintainers with email.
This commit is contained in:
parent
7e686cf52b
commit
55a3762412
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
import escapeHtml from "escape-html";
|
||||||
import {OsmConnection, UserDetails} from "./OsmConnection";
|
import {OsmConnection, UserDetails} from "./OsmConnection";
|
||||||
import {UIEventSource} from "../UIEventSource";
|
import {UIEventSource} from "../UIEventSource";
|
||||||
import {ElementStorage} from "../ElementStorage";
|
import {ElementStorage} from "../ElementStorage";
|
||||||
|
@ -105,7 +106,7 @@ export class ChangesetHandler {
|
||||||
`<tag k="theme" v="${layout.id}"/>`,
|
`<tag k="theme" v="${layout.id}"/>`,
|
||||||
`<tag k="language" v="${Locale.language.data}"/>`,
|
`<tag k="language" v="${Locale.language.data}"/>`,
|
||||||
surveySource,
|
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("")
|
`</changeset></osm>`].join("")
|
||||||
}, function (err, response) {
|
}, function (err, response) {
|
||||||
if (response === undefined) {
|
if (response === undefined) {
|
||||||
|
|
Loading…
Reference in a new issue