Rich text to habrahabr-markup converter