浏览代码

[core] Fix for wrong quotes on the default Leaflet conf properties

Enrico Berti 10 年之前
父节点
当前提交
03ade20
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/conf.py

+ 1 - 1
desktop/core/src/desktop/conf.py

@@ -279,7 +279,7 @@ LEAFLET_TILE_LAYER_ATTRIBUTION = Config(
   key="leaflet_tile_layer_attribution",
   key="leaflet_tile_layer_attribution",
   help=_("The copyright message for the specified Leaflet maps Tile Layer"),
   help=_("The copyright message for the specified Leaflet maps Tile Layer"),
   type=coerce_str_lowercase,
   type=coerce_str_lowercase,
-  default="&copy; <a href='http://osm.org/copyright'>OpenStreetMap</a> contributors")
+  default='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors')
 
 
 POLL_ENABLED = Config(
 POLL_ENABLED = Config(
   key="poll_enabled",
   key="poll_enabled",