forked from MapComplete/MapComplete
Autoreformat all the things
This commit is contained in:
parent
bfcbbdaf70
commit
25f956c808
309 changed files with 548 additions and 556 deletions
|
|
@ -53,17 +53,17 @@ export default class Img extends BaseUIElement {
|
|||
}
|
||||
return el;
|
||||
}
|
||||
|
||||
|
||||
AsMarkdown(): string {
|
||||
if(this._rawSvg === true){
|
||||
if (this._rawSvg === true) {
|
||||
console.warn("Converting raw svgs to markdown is not supported");
|
||||
return undefined
|
||||
}
|
||||
let src = this._src
|
||||
if(this._src.startsWith("./")){
|
||||
src = "https://mapcomplete.osm.be/"+src
|
||||
if (this._src.startsWith("./")) {
|
||||
src = "https://mapcomplete.osm.be/" + src
|
||||
}
|
||||
return "";
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue