fix inline tag processing and update example