Fix markdown handling on new grefs