em dash ?

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

em dash ?

Paul DeBruicker
Hi

How can I render an em dash in a page using Seaside?

Thanks

Paul
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: em dash ?

Philippe Marschall
2010/12/10 Paul DeBruicker <[hidden email]>:
> Hi
>
> How can I render an em dash in a page using Seaside?

html render: $—
html render: '—'
html render: (Character codePoint: 16r2014)
html html: '&mdash;'
html html: '&#8212'
html html: '&#x2014;'

With the first two you will have non-Latin-1 source code which may
lead to some interesting experiences. The first three will require
Unicode support (won't work on VAST) and are a bit slower on Pharo
(dunno about other platforms).

Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside