// package.json
var name = "iD";
- var version = "2.21.0";
+ var version = "2.21.1";
var description = "A friendly editor for OpenStreetMap";
var main = "dist/iD.min.js";
var repository = "github:openstreetmap/iD";
if (!endEarly) {
const nextBulletRegex = new RegExp(`^ {0,${Math.min(3, indent2 - 1)}}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))`);
const hrRegex = new RegExp(`^ {0,${Math.min(3, indent2 - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`);
+ const fencesBeginRegex = new RegExp(`^( {0,${Math.min(3, indent2 - 1)}})(\`\`\`|~~~)`);
while (src) {
rawLine = src.split("\n", 1)[0];
line = rawLine;
if (this.options.pedantic) {
line = line.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ");
}
+ if (fencesBeginRegex.test(line)) {
+ break;
+ }
+ if (this.rules.block.heading.test(line)) {
+ break;
+ }
if (nextBulletRegex.test(line)) {
break;
}
"shop/alcohol",
"shop/beer",
"shop/beverages",
+ "shop/kiosk",
"shop/wine"
],
camping: [
"shop/convenience",
"shop/cosmetics",
"shop/grocery",
+ "shop/kiosk",
"shop/newsagent",
"shop/perfumery"
],
"shop/computer",
"shop/electronics",
"shop/hifi",
+ "shop/kiosk",
"shop/mobile",
"shop/mobile_phone",
"shop/telecommunication"
"shop/confectionary",
"shop/confectionery",
"shop/food",
+ "shop/kiosk",
"shop/ice_cream",
"shop/pastry",
"shop/tea"
"shop/gift",
"shop/card",
"shop/cards",
+ "shop/kiosk",
"shop/stationery"
],
hardware: [
"amenity/car_rental",
"amenity/truck_rental",
"amenity/vehicle_rental",
+ "shop/kiosk",
"shop/rental"
],
school: [
],
vending: [
"amenity/vending_machine",
+ "shop/kiosk",
"shop/vending_machine"
],
weight_loss: [
return source;
};
source.url = function(coord2) {
- var result = _template.replace(/#.*/su, "");
+ var result = _template.replace(/#[\s\S]*/u, "");
if (result === "")
return result;
if (!source.type || source.id === "custom") {
const dispatch10 = dispatch_default("enter", "exit", "change");
let context = utilRebind({}, dispatch10, "on");
let _deferred2 = /* @__PURE__ */ new Set();
- context.version = "2.21.0";
+ context.version = "2.21.1";
context.privacyVersion = "20201202";
context.initialHashParams = window.location.hash ? utilStringQs(window.location.hash) : {};
context.changeset = null;