[TYPO3-core] RFC: #- allow br in flexform labels
    Benjamin Mack 
    mack at xnos.org
       
    Mon Nov 19 22:47:55 CET 2007
    
    
  
Hey Steffen,
+1 after reading. Please add a line of comments to the patch above the 
changed line where you document what you do and why you do it without 
nl2br().
What do you think?
greetings,
benni.
-SDG-
www.xnos.de // www.xnos.org
Steffen Kamper wrote:
> Additional Info:
> 
> some may wonder why not using nl2br(). the reason is, that the function only 
> works with "\n" - and here label is in the var and it doesn't work, so i 
> used str_replace. Also this happens at the real end before output, so 
> hmtlspecialchars is processed before.
> 
> There is also the question where documentation should go - please give me an 
> advice if you know a good place, i will do it as follow up.
> 
> vg  Steffen 
> 
> 
> _______________________________________________
> Before posting to this list, please have a look to the posting rules
> on the following websites:
> 
> http://typo3.org/teams/core/core-mailinglist-rules/
> http://typo3.org/development/bug-fixing/diff-and-patch/ 
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core
    
    
More information about the TYPO3-team-core
mailing list