updated spancomment to support multiple languages; fixed edge case w/ no spacers