Am 2011-11-17 um 19:37 schrieb Alexandre Bergel:

> Hi!
> 
> On squeaksource.com, the project description can contains code using the 
> <pre>...</pre> tag, as in:
> 
> <pre>
> Gofer new
>       url: 'http://ss3.gemstone.com/ss/SPIRIT'; 
>       package: 'ConfigurationOfSpirit';
>       load.
> (Smalltalk at: #ConfigurationOfSpirit) project lastVersion load
> </pre>
> 
> It seems this does not work with ss3.gemstone.com.
> 
> Has this tag been replaced with something else?


The project description is just sanitized text as you would do with a seaside
        html text: 'foo'.

See 
SSOverview>>renderDescriptionOn: html
        html heading level2; with: 'Project Description'.
        html paragraph: self model information "<---"

and 
SSDirectoryListing>>renderContentOn: html
        html heading level1; with: self title.
        html anchor
                url: self project fullHomepageUrl;
                with: self homepageUrlText.
        html paragraph: [
                html withLineBreaks: self information ]. "<---"
        super renderContentOn: html.
        self renderConfigsOn: html.

What would you suggest?
I am open to suggestions.

Best
        -Tobias

Reply via email to