Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This changes a few things about links: 1. Links are now always enabled for blips Previously, it was only enabled for blips if there is no legend (config.print_layout = true) 2. hrefs are only added if there is actually a link Previously, there were always href created--if there was no link, the href was #. This caused a page refresh and a blink of the tech radar. 3. Use xlink:href everywhere Previously, blips used xlink:href, but text still used href. xlink:href has actually been deprecated, but currently still has better cross-platform support. 4. Links can now open in new tabs Previously, links always opened in the existing tab. This adds a new config: links_in_new_tabs. Setting that to true will add a target="_blank" for all hrefs, causing the link to be opened in a new tab. Setting config.links_in_new_tabs to false or not including it at all retains the old behavior.
- Loading branch information