Update LineHighlight.js

Fix for the fact that cloneContents closes any open tags check if the string ends with a tag.