Skip to content

Commit

Permalink
Replace / with - in block title for Login/out block #27
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Jan 16, 2022
1 parent 878b36f commit a469bc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/oik-blocklist/blocklist.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ function getBlockLink( block ) {
//console.log( 'getBlockLink');
//console.log( block);
var blockTitle = block.title.replace( / /g, '-' );
blockTitle = blockTitle.replace( '/', '-' );
blockTitle = blockTitle.toLowerCase();
var blockName = block.name.replace( '/', '-' );
var blockLink = null;
Expand Down

0 comments on commit a469bc3

Please sign in to comment.