Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Because of the greedy regular expression at geshifilter.pages.inc:230, if you have multiple geshifilter blocks in a single field, the geshifilter transforms them into a single block and includes any text in between them in the single block.
Comments
Comment #1
Matir CreditAttribution: Matir commentedI meant to provide an example, but hit submit too soon, sorry:
Comment #2
soxofaan CreditAttribution: soxofaan commentedIs that also the case if you use <code type="cpp">...</code> blocks?
Comment #3
yukare CreditAttribution: yukare commentedYou can use <code language="c"> and <code language="cpp"> in this case as workarround, and if we use something like geshifilter-c and geshifilter-php in the same field it works without the bug.
But i can confirm that the bug exists in this case.