Project

General

Profile

Actions

Bug #65506

closed

Links inside list elements not working propery

Added by Dominik Hahn about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Content Rendering
Target version:
Start date:
2015-03-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Stabilization Sprint

Description

We are facing a problem with links inside list elements in the front end.

When linking a text by using the link wizard the RTE shows the link just fine. On the front end the link is totally fine unless it's surrounded by "<li></li>".

This is a link in a paragraph:
<a href="/formular/" title="Verweis auf weitere Informationen" class="internal-link">Ein ganz normaler Link</a>

The same link inside an unordered list:
<li><link 10776="" -="" internal-link="" "verweis="" auf="" weitere="" informationen"="">Ein ganz normaler Link</li>

I think it might be because of the "-" in the class of the link but as we had to got back to TYPO3 6.2.9 I can't test this anymore.

This problem was present in TYPO3 6.2.10RC1 and is still present in TYPO3 6.2.10


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #61954: Click-enlarge problem when an image is inside ul li OR ol liClosed2014-09-29

Actions
Actions #1

Updated by Paul Keller about 9 years ago

I can confirm the same problem after the update from 6.2.9 to 6.2.10.
List elements with links within RTE don't work in frontend anymore after update. If I use core of 6.2.9 again, everything is fine. A soon as I switch back to 6.2.10 problem occurs again.

Actions #2

Updated by Nicole Cordes about 9 years ago

  • Assignee set to Nicole Cordes
  • Target version set to next-patchlevel
  • Is Regression changed from No to Yes
Actions #3

Updated by Gerrit Code Review about 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37541

Actions #4

Updated by Gerrit Code Review about 9 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37541

Actions #5

Updated by Xavier Perseguers about 9 years ago

  • Target version changed from next-patchlevel to 6.2.12
  • Sprint Focus set to Stabilization Sprint
Actions #6

Updated by Gerrit Code Review about 9 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38656

Actions #7

Updated by Gerrit Code Review about 9 years ago

Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38656

Actions #8

Updated by Nicole Cordes about 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Xavier Perseguers about 9 years ago

  • Status changed from Resolved to Under Review
  • % Done changed from 100 to 50
Actions #10

Updated by Gerrit Code Review about 9 years ago

Patch set 3 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38656

Actions #11

Updated by Gerrit Code Review about 9 years ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/38681

Actions #12

Updated by Nicole Cordes about 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 50 to 100
Actions #13

Updated by Daniel Schwarz almost 8 years ago

This problem is present again in TYPO3 7.6.9. I do not know if it is also present in earlier v7.x versions.

Actions #14

Updated by Nicole Cordes almost 8 years ago

I cannot reproduce the issue neither with 7.6 nor with the current master. Could you give some steps to reproduce? Have you changed the TypoScript from css_styled_content or fluid_styled_content?

Actions #15

Updated by Ralph Brugger almost 8 years ago

Same issue here, same issue as in TYPO3 6.2.x

Try this:

typo3_src-7.6.9/typo3/sysext/css_styled_content/static/setup.txt

               # List processing
                dl < .div
                dd < .div
                ol < .div
                ul < .div
+++             li.stdWrap.parseFunc < lib.parseFunc

It worked for us / same code as for 6.2.x

Actions #16

Updated by Florian Rival almost 8 years ago

Same issue for me in Typo3 7.6.9 with fluid_styled_content.
I tried the Ralph Brugger's workaround without success.

Backend :

<em>the <a href="http://www.website.com/?id=13">bug is here</a></em>

Front end result :

<em>the <link 13="">bug is here</em>

The <i> tags are changed in <em> tag with this TS - but even without this TS the problem is there :

lib.parseFunc_RTE.tags{
    b = TEXT
    b{
        current=1
        wrap= <strong>|</strong>
    }
    i = TEXT
    i{
        current=1
        wrap= <em>|</em>
    }
}

lib.parseFunc.tags{
    b = TEXT
    b{
        current=1
        wrap= <strong>|</strong>
    }
    i = TEXT
    i{
        current=1
        wrap= <em>|</em>
    }
}

Actions #17

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF