#67869EXT:rtehtmlarea is using source text as XLIFF identifier
Description
EXT:rtehtmlarea is using the TYPO3 translation service the way it would use “getText” in other frameworks, meaning using the “source” text as identifier instead of a real XLIFF identifier.
This leads to declaring invalid XML id attributes containing spaces.
Example of such a problem with file locallang.xlf:
<trans-unit id="Please wait">
<source>The editor is being loaded. Please wait...</source>
</trans-unit>
The text is then used with:
<div id="pleasewait' . $textAreaId . '" class="pleasewait" style="display: block;" >' . $languageService->getLL('Please wait') . '</div>
in RtehtmlAreaBase.php:493 or (other label) used as
text: this.localize('Please wait. Calling spell checker.'),
in Resources/Public/JavaScript/Plugins/SpellChecker.js:363.
This MUST be fixed in both master and TYPO3 6.2 branch and is a requirement for the new clever handling of deprecated and/or removed XLIFF labels in newer versions of TYPO3.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.