Add unit test that was failing in only some scenarios in tiki
Fix InlineElement to work with the small set of elements that may not have a close
Merge remote-tracking branch 'origin/master'