Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Convert HTML to Text
Last updated at 3:23 pm UTC on 9 September 2016
Example showing how to create Text from HTML

 aHtmlString := '<i>Squeak</i> is <b>20 years</b> old.'.
 t := (HtmlReadWriter on: aHtmlString readStream) nextText.
 
 (Workspace new contents: t )
         openLabel: 'Convert HTML to Text'


Color is as well possible

 <font color="#00FF00">ABCDE</font>