Improved links sanization.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2020-02-04 16:11:44 +00:00 committed by SantiagoBragagnolo
parent 4bddfebbf5
commit 29146d2d0c
1 changed files with 1 additions and 1 deletions

View File

@ -978,7 +978,7 @@ GrafoscopioNode >> root [
{ #category : #operation }
GrafoscopioNode >> sanitizeDefaultLink [
| defaultLink sanitized protocol |
defaultLink := self links last.
defaultLink := self lastLink.
protocol := 'docutopia://'.
(defaultLink beginsWith: protocol )
ifTrue: [ sanitized := defaultLink copyReplaceAll: protocol with: 'https://docutopia.tupale.co/' ].