mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-25 09:34:04 +02:00
disable deprecated marked options
to get rid of warnings in the console
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { marked } from 'marked';
|
||||
import {
|
||||
select as d3_select
|
||||
} from 'd3-selection';
|
||||
@@ -689,5 +690,10 @@ export function uiInit(context) {
|
||||
_saveLoading = d3_select(null);
|
||||
});
|
||||
|
||||
marked.use({
|
||||
mangle: false,
|
||||
headerIds: false,
|
||||
});
|
||||
|
||||
return ui;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user