check_plain gets called after inserting '   ' into the output, so the & gets escaped, and   shows up in the output.

CommentFileSizeAuthor
#1 smiley-nbsp-103416.patch.txt652 bytesWesley Tanaka

Comments

Wesley Tanaka’s picture

Status: Active » Needs review
StatusFileSize
new652 bytes
Wesley Tanaka’s picture

Alternatively, if the   is really necessary, every element after the explode() call will have to be check_plain()'ed separately before they are implode()d

Gurpartap Singh’s picture

Status: Needs review » Fixed

Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)