Fixed various issues in inline listings.
Fixed various issues in inline listings.