diff --git a/repository/Grafoscopio/GrafoscopioNotebook.class.st b/repository/Grafoscopio/GrafoscopioNotebook.class.st index a48f5c8..478b5d1 100644 --- a/repository/Grafoscopio/GrafoscopioNotebook.class.st +++ b/repository/Grafoscopio/GrafoscopioNotebook.class.st @@ -556,15 +556,14 @@ GrafoscopioNotebook >> updateBodyFor: aNodeContainer [ { #category : #operation } GrafoscopioNotebook >> updateForSpecialHeader [ - "I see if a node header is an ulr located at 'http://ws.stfx.eu', wich means that is a shared + "I see if a node header is an url located at 'http://ws.stfx.eu', wich means that is a shared workspace, and convert the node body to an interactive playground" - | currentNode nodeContent | currentNode := tree highlightedItem. currentNode ifNil: [ ^ self ]. nodeContent := currentNode content. - nodeContent header asUrl host = 'ws.stfx.eu' - ifFalse: [ ^ self ]. + nodeContent header isAsciiString ifFalse: [ ^ self ]. + nodeContent header asUrl host = 'ws.stfx.eu' ifFalse: [ ^ self ]. nodeContent body: (ZnClient new get: nodeContent header); tagAs: 'código'.