netresearch / t3x-rte_ckeditor_image

Image support in CKEditor for the TYPO3 ecosystem
GNU Affero General Public License v3.0
56 stars 65 forks source link

bugfix: incorrect parse indexes leading to dynamic image URL not to b… #236

Closed MIchelHolz closed 1 year ago

MIchelHolz commented 1 year ago

Issued by https://github.com/netresearch/t3x-rte_ckeditor_image/issues/187

Incorrect processing of indexes caused images not to be processed in RteImagesDbHook.php

Content split of Images via rteHtmlParser->splitTags returned an array of content with odd indexes for images. Matching even indexes in transform_db function caused images not to be processed.

AndreasMueller75 commented 1 year ago

Small fix that works