* Fixed Bug #5381: Added htmlSpecialChars to rendering page titles in Sitemap/menu...
authorErnesto Baschny <ernst@cron-it.de>
Mon, 29 Jun 2009 09:34:29 +0000 (09:34 +0000)
committerErnesto Baschny <ernst@cron-it.de>
Mon, 29 Jun 2009 09:34:29 +0000 (09:34 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5654 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/css_styled_content/ext_localconf.php
typo3/sysext/css_styled_content/static/setup.txt

index 86dce67..b938513 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-29  Ernesto Baschny <ernst@cron-it.de>
+
+       * Fixed Bug #5381: Added htmlSpecialChars to rendering page titles in Sitemap/menu content elements
+
 2009-06-29  Benjamin Mack <benni@typo3.org>
 
        * Followup to #4361 / New Hook: removed the "&" when calling the hook method (Thanks to Xavier Perseguers)
index 9863a76..d5d2d6f 100755 (executable)
@@ -29,6 +29,11 @@ $TYPO3_CONF_VARS['SC_OPTIONS']['ext/install']['compat_version']['tx_cssstyledcon
        'version' => 4002000,
        'description' => '<p>The default page target is empty (so no target is generated). If you use frames, you have to set target to "page" in Constants.</p>'
 );
+$TYPO3_CONF_VARS['SC_OPTIONS']['ext/install']['compat_version']['tx_cssstyledcontent_menuhtmlspecialchars'] = array(
+       'title' => 'CSS Styled Content: htmlspecialchars in menu content elements',
+       'version' => 4003000,
+       'description' => '<p>Page titles will get htmlspecialchar\'ed when rendered in "Sitemap/menu" content elements, to avoid generating invalid XHTML.</p>',
+);
 
 
 ?>
\ No newline at end of file
index 741b201..1616025 100644 (file)
@@ -1146,8 +1146,12 @@ tt_content.menu {
                        1 = TMENU
                        1 {
                                target = {$PAGE_TARGET}
-                               NO.wrapItemAndSub = <li>|</li>
-                               NO.ATagTitle.field = description // title
+                               NO {
+                                       stdWrap.htmlSpecialChars = 1
+                                       wrapItemAndSub = <li>|</li>
+                                       ATagTitle.field = description // title
+                               }
+                               noBlur = 1
                        }
                }