IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
194 | 194 | |
195 | 195 | target.add( element ); |
196 | 196 | |
| 197 | if ( element.name == 'pre' ) |
| 198 | inPre = false; |
| 199 | |
| 200 | if ( element.name == 'textarea' ) |
| 201 | inTextarea = false; |
| 202 | |
| 203 | |
197 | 204 | if ( element.returnPoint ) |
198 | 205 | { |
199 | 206 | currentNode = element.returnPoint; |
… |
… |
|
360 | 367 | |
361 | 368 | currentNode = candidate; |
362 | 369 | |
363 | | if ( currentNode.name == 'pre' ) |
364 | | inPre = false; |
365 | | |
366 | | if ( currentNode.name == 'textarea' ) |
367 | | inTextarea = false; |
368 | | |
369 | 370 | if ( candidate._.isBlockLike ) |
370 | 371 | sendPendingBRs(); |
371 | 372 | |
… |
… |
|
399 | 400 | || ( currentNode._.isBlockLike ? |
400 | 401 | CKEDITOR.dtd.div : CKEDITOR.dtd.span ) ) : rootDtd; |
401 | 402 | |
402 | | // Fix orphan text in list/table. (#8540) |
403 | | if ( !currentDtd [ '#' ] && currentName in nonBreakingBlocks ) |
| 403 | // Fix orphan text in list/table. (#8540) (#8870) |
| 404 | if ( !inTextarea && |
| 405 | !currentDtd [ '#' ] && |
| 406 | currentName in nonBreakingBlocks ) |
404 | 407 | { |
405 | 408 | parser.onTagOpen( currentName in listBlocks ? 'li' : |
406 | 409 | currentName == 'dl' ? 'dd' : |