fixes #167 - triples work correctly inside table elements etc