|
@@ -32,7 +32,7 @@ export class DevidedPagePath {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- let PATTERN_DEFAULT = /^((.*)\/)?(.+)$/; // this will not ignore html end tags https://regex101.com/r/jpZwIe/1
|
|
|
|
|
|
|
+ let PATTERN_DEFAULT = /^((.*)\/(?!em>))?(.+)$/; // this will ignore em's end tags
|
|
|
try { // for non-chrome browsers
|
|
try { // for non-chrome browsers
|
|
|
// eslint-disable-next-line regex/invalid
|
|
// eslint-disable-next-line regex/invalid
|
|
|
PATTERN_DEFAULT = new RegExp('^((.*)(?<!<)\\/)?(.+)$'); // https://regex101.com/r/HJNvMW/1
|
|
PATTERN_DEFAULT = new RegExp('^((.*)(?<!<)\\/)?(.+)$'); // https://regex101.com/r/HJNvMW/1
|