[TYPO3-english] R: HTML cleaning

De Contardi Riccardo Riccardo.DeContardi at bhuman.it
Tue Dec 15 14:16:30 CET 2009


This is the code I use for breadcrumbs. It works fine for me (4.2.8, 4.2.10, 4.3)

lib.breadcrumbs = HMENU
lib.breadcrumbs.excludeDoktypes=6
lib.breadcrumbs.includeNotInMenu = 1
lib.breadcrumbs.special = rootline
lib.breadcrumbs.1 = TMENU
lib.breadcrumbs.1 {
	noBlur = 1
    	# Normal state properties
  	NO.after =  > 
  	NO.ATagParams.dataWrap  = title="{field:title}"
  	NO.stdWrap.htmlSpecialChars = 1

  	CUR = 1
  	CUR.doNotLinkIt = 1
  	CUR.allWrap = <strong> | </strong>
}

**************************************
Riccardo De Contardi
 
B Human Srl - www.bhuman.it 
Via Canzio, 15 - 20131 Milano
Tel +39.02 20 23 271 - Fax +39.02 20 240 561
-----Messaggio originale-----
Da: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] Per conto di Igor Mitev
Inviato: martedì 15 dicembre 2009 13.54
A: 'TYPO3 English'
Oggetto: Re: [TYPO3-english] HTML cleaning

Hi Joey,

I'm using TV as a template method. "lib.breadcrumb" is mapped in TV (inner)
that is why I don't need it in the TS code. 

Only for "lib.breadcrumb" I get characters replacement, the other mapped
field are fine. I used htmlSpecialChars to try to prevent it but no results.

Thanks,
Igor


-----Original Message-----
From: typo3-english-bounces at lists.typo3.org
[mailto:typo3-english-bounces at lists.typo3.org] On Behalf Of JoH asenau
Sent: Monday, December 14, 2009 8:19 PM
To: typo3-english at lists.typo3.org
Subject: Re: [TYPO3-english] HTML cleaning

Igor Mitev wrote:
> I'm using TYPO3 4.2.10 and for the breadcrumb the following code:
>
> ###################################################
> ## Breadcrumb - HMENU
> lib.breadcrumb=COA
>
> When the code is generated TYPO3 changes the tag <> symbols to &lt;
> and &gt; and the breadcrumb is rendered as text.
>
> Can someone please tell me how to turn off HTML cleaning? HTML Tidy
> is off in the install tool.

Where do you use this "lib.breadcrumb" and which templating method are you
using (classic, modern, TV)?

When I "decode" your HTML example I get:
<div id="breadcrumb">
    <a href="index.php?id=1" onfocus="blurLink(this);" >
    Whatever
    </a>
&nbsp;&raquo;&nbsp;whatever
</div>

Since the <div> container is not part of your COA, I guess the encoding is
done in the same piece of code that is creating this container. So it's not
TYPO3 but a certain (Typo) Script that is responsible for it.

The TS you posted usually won't produce any HSC output.

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com


_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Chi riceve il presente messaggio e' tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e' pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilità connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe.

The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof.




More information about the TYPO3-english mailing list