The Trunk: HelpSystem-Core-mt.73.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: HelpSystem-Core-mt.73.mcz

commits-2
Marcel Taeumel uploaded a new version of HelpSystem-Core to project The Trunk:
http://source.squeak.org/trunk/HelpSystem-Core-mt.73.mcz

==================== Summary ====================

Name: HelpSystem-Core-mt.73
Author: mt
Time: 3 May 2015, 10:40:26.596 pm
UUID: fbfe2a9b-a41b-5f4d-b5de-6ec6f8f7fc73
Ancestors: HelpSystem-Core-kfr.72

Use HtmlReadWriter for parsing html help topics.

=============== Diff against HelpSystem-Core-kfr.72 ===============

Item was changed:
  ----- Method: HtmlHelpTopic>>contents (in category 'accessing') -----
  contents
 
  | start end |
  start := (self document findString: '<body').
  start := (self document findString: '>' startingAt: start) + 1.
  end := self document findString: '</body>' startingAt: start.
 
  start > end ifTrue: [^ self document].
 
+ ^ ((self document copyFrom: start to: end - 1)
+ copyReplaceAll: String cr with: '<br>')
+ asTextFromHtml!
- ^ (self document copyFrom: start to: end - 1) asUnHtml withBlanksTrimmed!


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: HelpSystem-Core-mt.73.mcz

marcel.taeumel (old)


Best,
Marcel
Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: HelpSystem-Core-mt.73.mcz

timrowledge

On 03-05-2015, at 1:26 PM, Marcel Taeumel <[hidden email]> wrote:

> <http://forum.world.st/file/n4824062/html-help.png>

Looking good there.


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Strange OpCodes: TOAC: Turn Off Air Conditioner



Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: HelpSystem-Core-mt.73.mcz

Chris Muller-3
In reply to this post by marcel.taeumel (old)
Oh cool...   :)

On Sun, May 3, 2015 at 3:26 PM, Marcel Taeumel
<[hidden email]> wrote:

> <http://forum.world.st/file/n4824062/html-help.png>
>
> Best,
> Marcel
>
>
>
> --
> View this message in context: http://forum.world.st/The-Trunk-HelpSystem-Core-mt-73-mcz-tp4824061p4824062.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>