From 54d4e7d80b308233f176f7fff7fe65dd41a65d03 Mon Sep 17 00:00:00 2001 From: Dan Gowans Date: Thu, 7 Mar 2024 12:58:40 -0500 Subject: [PATCH] fix spaces --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index b7dfdd5..b8ed6e3 100644 --- a/README.md +++ b/README.md @@ -26,14 +26,14 @@ import { isSaultSteMarie, fixSaultSteMarie } from '@cityssm/is-sault-ste-marie' // Test whether a string is a spelling of Sault Ste. Marie. -console.log( isSaultSteMarie('Sault Ste. Marie') ) // => true -console.log( isSaultSteMarie('Sault-Sainte-Marie') ) // => true -console.log( isSaultSteMarie('Toronto') ) // => false +console.log(isSaultSteMarie('Sault Ste. Marie')) // => true +console.log(isSaultSteMarie('Sault-Sainte-Marie')) // => true +console.log(isSaultSteMarie('Toronto')) // => false // Returns a preferred spelling of Sault Ste. Marie, or the original string. -console.log( fixSaultSteMarie('Sault Ste Marie') ) // => "Sault Ste. Marie" -console.log( fixSaultSteMarie('Sault-Sainte-Marie') ) // => "Sault Ste. Marie" -console.log( fixSaultSteMarie('Sault Ste. Marie', 'The Sault') ) // => "The Sault" -console.log( fixSaultSteMarie('Toronto') ) // => "Toronto" -``` \ No newline at end of file +console.log(fixSaultSteMarie('Sault Ste Marie')) // => "Sault Ste. Marie" +console.log(fixSaultSteMarie('Sault-Sainte-Marie')) // => "Sault Ste. Marie" +console.log(fixSaultSteMarie('Sault Ste. Marie', 'The Sault')) // => "The Sault" +console.log(fixSaultSteMarie('Toronto')) // => "Toronto" +```