Backport switch from text to data-text attribute, maintaining support for text attribute

Created on 8 January 2024, 6 months ago
Updated 11 January 2024, 6 months ago

Problem/Motivation

In https://www.drupal.org/project/footnotes/issues/3391021 πŸ› Data loss: everything before last colon in every footnote is lost when using instead of [fn] syntax Needs work we switched to data-text from text to avoid certain characters causing text to have data loss.

As per https://www.drupal.org/project/footnotes/issues/3391021#comment-15386631 πŸ› Data loss: everything before last colon in every footnote is lost when using instead of [fn] syntax Needs work we should maintain support for the text attribute.

Steps to reproduce

Use this module with text attribute.
Expect text attribute to still output the footnotes correctly

Proposed resolution

Backport from 4x branch but also add support for original text attribute here

Remaining tasks

Merge request to fix this in 3x

User interface changes

None

API changes

None

Data model changes

Support for both text and data-text attributes in 3x.

πŸ› Bug report
Status

Closed: duplicate

Version

3.1

Component

Footnotes

Created by

πŸ‡¬πŸ‡§United Kingdom scott_euser

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024