fixes anchor ids and quote citation