#10 fix strony źle linkują jeśli URL kończy się przecinkiem
This commit is contained in:
parent
6565fa18c0
commit
1f4b22f265
|
@ -180,6 +180,10 @@ export class Template {
|
|||
}
|
||||
|
||||
static from(data) {
|
||||
if (data.length === morphemes.length + 1) {
|
||||
data.push('');
|
||||
}
|
||||
|
||||
if (data.length !== morphemes.length + 2
|
||||
|| data[0].length === 0
|
||||
|| data[data.length - 1].length > 48
|
||||
|
|
Reference in New Issue