On 5 Aug 2012, at 11:42, Kake wrote:
I've hacked Wiki::Toolkit::Formatter::UseMod to remove the square brackets from external links, and instead include a class of "external", which lets you style it with CSS.
This is now in the CPAN version of the UseMod formatter (thanks Dom!) which means that my thoughts turn to applying it to OpenGuides. Should we just make this change in the core, i.e. set the "external_link_class" option when creating the wiki object in OpenGuides::Utils, or should there be a config option for it?
I am strongly tempted to just make the change, with no config option, since anyone wanting the old behaviour can get it back by using :before and :after pseudoclasses in CSS.
Thoughts, please!
Kake