Releases: eprcstudio/TextformatterFootnotes
Release list
v0.1.3
(PW catched I bumped the module’s version but I forgot to create a new release for it, my bad)
This release cleans the module’s output as best as possible to make sure it doesn’t leave behind unwanted line returns if the user adds a footnote within the text, as shown in the example in the README.
v0.1.2
This release fixes two (minor) issues:
- when
outputAsArrayis set to true, an array is now properly returned even if there are no footnotes TextformatterFootnotes::generateFootnotesMarkupis now hookable. This is useful for dynamically changing the icon if you decide to output the footnotes’ markup separately (see example in the README)
v0.1.1
A quick release to add support for references within footnotes (niche use-case)
v0.1.0
This release follows a refactor of the module to allow to extract the footnotes for later use. An example has been added in the README.
The textformatter also became more robust in cases where there are been mistakes in the references/footnotes ordering.
v0.0.5
This release fixes two issues:
- empty lines were incorrectly removed (we should keep the text formatted as the user intended)
- when multiple fields (with the textformatter) were rendered, there were some issues with the references links
Currently, by default, each footnotes group belonging to a field is sequenced starting from 1. However when fixing the second issue I decided to add an option to continuously sequence the references/footnotes throughout a page render.
v0.0.4
This is a minor update to remove the autoload and singular, which are not needed for a textformatter
v0.0.3
This release fixes an issue where $field was sent instead of an empty array for $options, resulting in an error with array_merge.