Replace spaces before periods due to line breaks

perl -0 -pi.0 -e 's!(\n\s+)(</code)(>.)!!msg'