makemd
makemd copied to clipboard
A lack of Regex look-around support on iOS causing the plugin fails to load.
Description
On older versions of iOS (before 16.4), regular expression look-around functionalities (look-behind, look-ahead) were not supported and will be treated as capturing group names. Hence, resulting in this error with loading the plugin:
Approximate OCR extraction:
Plugin failure: make-md
~ SyntaxError {}
column: 2243520
line: 1
message: "Invalid regular expression: invalid group specifier name" sourceURL: "capacitor://localhost/app.js" stack: "eval@[native
code]\n@capacitor://localhost/app.js:1:2243520\n@capacitor://lo
calhost/app.js:1:248528\na@capacitor://localhost/app.js:1:2473
51\npromiseReactionJob@[native code]"
v
proto : SyntaxError {? constructor: SyntaxError\ message. "" name: "SyntaxError"
V
proto : Error 5} constructor: Error message: "" name: "Error" toString: toString^
V
proto : Obiect {? defineGetter _defineGetter_O defineSetter_:_defineSetter_ _lookupGetter lookupGetter _lookupSetter_ : _ _lookupSetter__( proto : null
constructor: Object hasOwnProperty: hasOwnProperty\ isPrototypeOf: isPrototypeOff propertylsEnumerable: property/Enumerable)
toLocaleString. toLocaleString0 toString: toString\ valueOf. valueOff
Environment
Affected Make.md versions: >=1.1.0 System version: iOS 16.2 Obsidian mobile version: 1.8.10