Moving functionality to MiniDocs.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-08-30 20:29:11 -05:00
parent 62e3568bd8
commit ccf9d2cd0f

View File

@ -5,7 +5,7 @@ String >> accentedCharactersCorrection [
| modified corrections |
corrections := {
'ó' -> 'ó' . 'ú' -> 'ú' . 'ñ' -> 'ñ' .
'í' -> 'í' . 'á' -> 'á' . 'é' -> 'é' } asDictionary.
'í' -> 'í' . 'á' -> 'á' . 'é' -> 'é' . '’' -> $' asString} asDictionary.
modified := self copy.
corrections keysAndValuesDo: [ :k :v |
modified := modified copyReplaceAll: k with: v