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:33 pm UTC on 31 October 2019
Example showing how to create Text from HTML

 aHtmlString := '<i>Squeak</i> is <b>23 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>