forked from MapComplete/MapComplete
Security: add DOM-purification, add 'norefferer' and 'noopener' automatically to links to new tabs
This commit is contained in:
parent
9252aafa2d
commit
3a77c6f33e
5 changed files with 71 additions and 13 deletions
|
@ -113,6 +113,7 @@ export default class ThemeViewState implements SpecialVisualizationState {
|
|||
readonly floors: Store<string[]>
|
||||
|
||||
constructor(layout: LayoutConfig) {
|
||||
Utils.initDomPurify()
|
||||
this.layout = layout
|
||||
this.featureSwitches = new FeatureSwitchState(layout)
|
||||
this.guistate = new MenuState(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue