[BUGFIX] Support target in fluid_styled_content menus
[Packages/TYPO3.CMS.git] / typo3 / sysext / fluid_styled_content / Resources / Private / Templates / MenuSubpages.html
index 99cbf7e..128bb4a 100644 (file)
@@ -6,7 +6,7 @@
                <ul>
                        <f:for each="{menu}" as="page">
                                <li>
-                                       <a href="{page.link}" target="{page.target}" title="{page.title}">
+                                       <a href="{page.link}"{f:if(condition: page.target, then: ' target="{page.target}"')} title="{page.title}">
                                                <span>{page.title}</span>
                                        </a>
                                </li>