mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-21 20:25:51 +00:00
Add missing closing parenthesis
This commit is contained in:
@@ -62,7 +62,7 @@ function tl(key) {
|
|||||||
*/
|
*/
|
||||||
function idify(s) {
|
function idify(s) {
|
||||||
// s = s.replace(/[^\p{Alphabetic}\p{Mark}\p{Decimal_Number}\p{Connector_Punctuation}\p{Join_Control}]/gu, '').trim().toLowerCase()
|
// s = s.replace(/[^\p{Alphabetic}\p{Mark}\p{Decimal_Number}\p{Connector_Punctuation}\p{Join_Control}]/gu, '').trim().toLowerCase()
|
||||||
s = s.replace(/([^\w]|[\s-]/gu, '').trim().toLowerCase()
|
s = s.replace(/([^\w]|[\s-])/gu, '').trim().toLowerCase()
|
||||||
s = s.replace(/[\s-]+/gu, '-')
|
s = s.replace(/[\s-]+/gu, '-')
|
||||||
if (!s) {
|
if (!s) {
|
||||||
s = "_";
|
s = "_";
|
||||||
|
|||||||
Reference in New Issue
Block a user