history plugin: make links relative