parse inline elements.