prettyTag property

String prettyTag

returns a prettier version of the tag (no HTML)

Implementation

String get prettyTag {
  String props = "";

  for (SimpleProperty p in properties) {
    props += " ${p.name}:${p.value}";
  }

  return "<$tagName$props>";
}