forked from MapComplete/MapComplete
Merge branch 'develop'
This commit is contained in:
commit
c7527232bc
12 changed files with 820 additions and 23 deletions
|
|
@ -111,7 +111,7 @@ export default class AddPrefixToTagRenderingConfig extends DesugaringStep<Questi
|
|||
|
||||
return <QuestionableTagRenderingConfigJson>{
|
||||
...json,
|
||||
id: this._prefix + "_" + json.id,
|
||||
id: this._prefix.replace(/[^a-zA-Z0-9_]/, "_") + "_" + json.id,
|
||||
|
||||
question: this.updateTranslatable(json.question),
|
||||
questionHint: this.updateTranslatable(json.questionHint),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue