2022-04-01 22:22:33 +00:00
|
|
|
accessing
|
2022-04-04 21:41:12 +00:00
|
|
|
exportWithTemplate: mustacheFile into: folder
|
2022-04-01 22:22:33 +00:00
|
|
|
|
2022-04-02 00:49:39 +00:00
|
|
|
| tempDictionary modified |
|
|
|
|
tempDictionary := self asDictionary copy.
|
|
|
|
modified := self asDictionary at: 'profile-bio'.
|
|
|
|
modified := modified copyReplaceAll: '@' with: '\@'.
|
|
|
|
modified := modified copyReplaceAll: '_' with: '\_'.
|
2022-04-16 06:37:11 +00:00
|
|
|
modified := modified copyReplaceAll: '#' with: '\#'.
|
2022-04-02 00:49:39 +00:00
|
|
|
tempDictionary at: 'profile-bio' put: modified.
|
2022-04-16 06:37:11 +00:00
|
|
|
^ MarkupFile
|
2022-04-01 22:22:33 +00:00
|
|
|
exportAsFileOn: (folder / self userName , 'tex')
|
2022-04-02 00:49:39 +00:00
|
|
|
containing:(mustacheFile asMustacheTemplate value: tempDictionary)
|