Add support for samp and cite

Handle both cases when they are block or inline. Improved the
is-block-element function to be able to handle this situation.