[TYPO3-english] Typo3 6.2.16 image caption with HTML

Markus Klein markus.klein at typo3.org
Thu Dec 17 23:16:20 CET 2015


Hi!

Please check also my conversation with Axel.

Your second line (parseFunc <) is invalid TS!
Read https://docs.typo3.org/typo3cms/TyposcriptSyntaxReference/Syntax/TypoScriptSyntax/Index.html for details.

Kind regards
Markus

------------------------------------------------------------
Markus Klein
TYPO3 CMS Active Contributors Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org

> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> bounces at lists.typo3.org] On Behalf Of Éric Thibault
> Sent: Thursday, December 17, 2015 8:33 PM
> To: typo3-english at lists.typo3.org
> Subject: Re: [TYPO3-english] Typo3 6.2.16 image caption with HTML
> 
> Thanks for your quick answer!
> 
> Here is my working solution!
> 
> TypoScript tried but no effect:
> 
> tt_content.image.20.caption.1.1 {
>      parseFunc <
>      parseFunc {
>   	allowTags = br,span
>   	denyTags = *
>      }
>      htmlSpecialChars = 0
> }
> 
> Thankyou all for your precious help!
> 
> Eric Thibault
> Quebec
> 
> ------------------------------
> 
> Message: 6
> Date: Thu, 17 Dec 2015 17:46:53 +0100
> From: "Markus Klein" <markus.klein at typo3.org>
> Subject: Re: [TYPO3-english] Typo3 6.2.16 image caption with HTML
> To: "'TYPO3 English'" <typo3-english at lists.typo3.org>
> Message-ID:
> 	<mailman.18303.1450370813.569.typo3-english at lists.typo3.org>
> Content-Type: text/plain;	charset="utf-8"
> 
> Hi!
> 
> See http://typo3.org/teams/security/security-bulletins/typo3-core/typo3-
> core-sa-2015-013/
> 
> 
> Kind regards
> Markus
> 
> ------------------------------------------------------------
> Markus Klein
> TYPO3 CMS Active Contributors Team Member
> 
> TYPO3 .... inspiring people to share!
> Get involved: typo3.org
> 
> > -----Original Message-----
> > From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> > bounces at lists.typo3.org] On Behalf Of ?ric Thibault
> > Sent: Thursday, December 17, 2015 5:42 PM
> > To: typo3-english at lists.typo3.org
> > Subject: [TYPO3-english] Typo3 6.2.16 image caption with HTML
> >
> > Hello to all!
> >
> > In my web site, I have multiple images with captions.  A lot of those
> > captions contain HTML tags like <br /> and <span>.  Since today, with
> > the 6.2.16 version of Typo3, all those "special" captions are no more
> > interpreted! I have all those tags in the frontend!
> >
> > Is there a special TypoScript to allow those HTML tags inside image caption?
> > Those captions are stored in the table "sys_file_reference" in the
> > field "description" with <>... so fare, I've found nothing!
> >
> > To patch temporarily, I've added a JQuery to transform all "&lt;" and
> > "&gt;" to "<" and ">"... but it is not sexy...
> >
> > Any help will be extremely helpful!
> >
> > Eric Thibault
> > Quebec
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list