enhance processing of inline elements