[TYPO3-english] Bug #65234 Still open?

mario chiari ml at mariochiari.net
Mon Apr 4 15:43:07 CEST 2016


Hi

I think I just run into bug #65234 https://forge.typo3.org/issues/65234 
(unwanted p tag between UL and LI)

On a remote host, with 
TYPO3 6.2.19 
rtehtmlarea 6.2.0 

I got the following misrendered html, where I flag by ***.*** misplaced wrapping
<p>'s:

<div class="bs-example">
<ul class="nav nav-tabs">
***<p class="bodytext">***
<li class="active">
<a data-toggle="tab" href="#sectionA" title="---">---</a></li>
<li><a data-toggle="tab" title="---" href="#sectionB">---<br /></a></li>
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">Dropdown</a>
***</p>***
<ul class="dropdown-menu">
<li><a title="BBB" data-toggle="tab" href="#dropdown1">Dropdown1</a></li>
<li><a title="CCC" data-toggle="tab" href="#dropdown2">Dropdown2</a></li></ul>
***<p class="bodytext">***</li>***</p>***</ul>
......
</div>

I am able to fix it by https://forge.typo3.org/issues/65234#note-10 
(Brain Appeal GmbH):

lib.parseFunc_RTE {
    externalBlocks {
        li >
        ul >
        li.stripNL = 1
        li.stdWrap.parseFunc = < lib.parseFunc
        ul.stripNL = 1
        ul.stdWrap.parseFunc = < lib.parseFunc
    }
}


https://forge.typo3.org/issues/65234#note-7 did not fix it, although it did for
TYPO3 6.2.14, rtehtmlarea 6.2.0: 

lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines >
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class >
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.wrapNonWrappedLines >
# Stop wrapping the following tags with p-tag
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.encapsTagList = a, img,
cite,  p, pre, hr, h1, h2, h3, h4, h5, h6, table, tr, td, th, ul, li

If you know what is going on, please let me know too.
(did anybody write a patch I am not aware of?)
thanks


mario





More information about the TYPO3-english mailing list