HTML symbols (–) in item title?

classic Classic list List threaded Threaded
3 messages Options
Johannes Graumann Johannes Graumann
Reply | Threaded
Open this post in threaded view
|

HTML symbols (–) in item title?

Hello,

Can somebody please point me into the right direction with this:
I'm trying to use html "special" symbols (e.g. "–") and they are not
being interpreted by plone.
Is that fixable?

Thanks, Joh

--
+----------------------------------------------------------------------+
| Johannes Graumann, Dipl. Biol.                                       |
|                                                                      |
|      Graduate Student                Tel.: ++1 (626) 395 6602        |
|      Deshaies Lab                    Fax.: ++1 (626) 395 5739        |
|      Department of Biology                                           |
|      CALTECH, M/C 156-29                                             |
|      1200 E. California Blvd.                                        |
|      Pasadena, CA 91125                                              |
|      USA                                                             |
+----------------------------------------------------------------------+



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Plone-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
dconvent dconvent
Reply | Threaded
Open this post in threaded view
|

Re: HTML symbols (–) in item title?

Johannes Graumann wrote:
> Hello,
>
> Can somebody please point me into the right direction with this:
> I'm trying to use html "special" symbols (e.g. "–") and they are not
> being interpreted by plone.

To have html entities interpreted in a page template, you have to use
the 'structure' statement:
<span tal:replace="structure string:&ndash;;" />

The reason why the structure statement is not used for the title of a
plone content is because Plone respects the DublinCore (DC) metadata set
specs. DC metadata fields should not contain any layout/presentation
entities like html, and Title is a DC metadata field (see dublincore.org
for more info).

> Is that fixable?
If you need to change it in simple page template you can customize it
and add the structure statement where needed, but if it is from a
generated archetypes view page, it might be a bit more tricky
>
> Thanks, Joh
>
HTH,
David



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Plone-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Alexander Limi Alexander Limi
Reply | Threaded
Open this post in threaded view
|

Re: HTML symbols (&ndash;) in item title?

On Thu, 20 Oct 2005 15:04:03 -0700, David Convent  
<[hidden email]> wrote:

> The reason why the structure statement is not used for the title of a  
> plone content is because Plone respects the DublinCore (DC) metadata set  
> specs. DC metadata fields should not contain any layout/presentation  
> entities like html, and Title is a DC metadata field (see dublincore.org  
> for more info).

It should work in the body text field, though - please notify us if it  
doesn't.

--
_____________________________________________________________________

      Alexander Limi · Chief Architect · Plone Solutions · Norway

  Consulting · Training · Development · http://www.plonesolutions.com
_____________________________________________________________________

       Plone Co-Founder · http://plone.org · Connecting Content
   Plone Foundation · http://plone.org/foundation · Protecting Plone



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Plone-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Alexander Limi · http://limi.net