Fixed optional caption for title
Added block handling of small in headers for h2 and h3, too