Format bookmark entries properly (fixes #3)