Deprecation: #86440 - Internal Methods and properties within RteHtmlParser

See forge#86440

Description

Several methods and properties in class TYPO3\CMS\Core\Html\RteHtmlParser have changed visibility from public to protected. Some additional functionality has been marked as deprecated, as this has been replaced with the new RTE configuration since TYPO3 v8.

The following properties have changed visibility from public to protected and should not be called any longer:

  • blockElementList

  • recPid

  • elRef

  • tsConfig

  • procOptions

  • TS_transform_db_safecounter

  • getKeepTags_cache

  • allowedClasses

The following methods have changed visibility from public to protected and should not be called any longer:

  • TS_images_db()

  • TS_links_db()

  • TS_transform_db()

  • TS_transform_rte()

  • HTMLcleaner_db()

  • getKeepTags()

  • divideIntoLines()

  • setDivTags()

  • getWHFromAttribs()

  • urlInfoForLinkTags() (deprecated, not in use anymore)

  • TS_AtagToAbs()

The following processing options (RTE.proc.) have been marked as deprecated:

  • keepPDIVattribs

  • dontRemoveUnknownTags_db

Impact

Setting any of the options, calling the methods above or accessing the properties will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

TYPO3 installations with extensions or custom usages for RTE handling (e.g. l10nmgr).

Migration

Migrate to use the public API only and use other options (such as allowAttributes instead of dontRemoveUnknownTags_db) in order to only run certain instructions on the RteHtmlParser object.