make tag omission for ruby element consistent