backdrop-contrib / project

Projects associate a code-based project with releases and power the update server of BackdropCMS.org
2 stars 10 forks source link

[DX] Change project node links to #type = link instead of markup #31

Closed jenlampton closed 5 years ago

jenlampton commented 5 years ago

In the project_release_node_view() function the links added to the content of a node are added as #markup elements. This makes it really hard to add classes to the links provided, in your theme, for example.

If these were instead #link elements, it would be easy to alter in #attributes as needed.

quicksketch commented 5 years ago

Thanks, sounds good and it's an easy change. Merged in https://github.com/backdrop-contrib/project/pull/32.