Fixing lp-code snippet

Proper line breaks and better attributes.