Better inline processing, still issues with multiline content