Moving functionality to MiniDocs.
This commit is contained in:
parent
62e3568bd8
commit
ccf9d2cd0f
@ -5,7 +5,7 @@ String >> accentedCharactersCorrection [
|
|||||||
| modified corrections |
|
| modified corrections |
|
||||||
corrections := {
|
corrections := {
|
||||||
'ó' -> 'ó' . 'ú' -> 'ú' . 'ñ' -> 'ñ' .
|
'ó' -> 'ó' . 'ú' -> 'ú' . 'ñ' -> 'ñ' .
|
||||||
'Ã' -> 'í' . 'á' -> 'á' . 'é' -> 'é' } asDictionary.
|
'Ã' -> 'í' . 'á' -> 'á' . 'é' -> 'é' . 'â' -> $' asString} asDictionary.
|
||||||
modified := self copy.
|
modified := self copy.
|
||||||
corrections keysAndValuesDo: [ :k :v |
|
corrections keysAndValuesDo: [ :k :v |
|
||||||
modified := modified copyReplaceAll: k with: v
|
modified := modified copyReplaceAll: k with: v
|
||||||
|
Loading…
Reference in New Issue
Block a user