silverstripe/silverstripe-framework — pull request #2507 by ajshort (2013-10-09 04:06:01+00:00)
Title: API: Pass extra context information to shortcode handlers.

This allows shortcodes to perform more complex actions on the element
which contains them. For example, the element reference can be used
to add extra classes or attributes to links which provide additional
metadata.