Encode closing <law> tag properly

Per @karlnicholas's report at statedecoded/statedecoded#494.