You can click on the options for an individual block and choose the Edit as HTML option. Then, add a HTML entity ​ between http:// and localhost in the HTML code. † Note:  The HTML entity ​ will be automatically removed by the WordPress Editor when you edit the text in the block.