public static class Today extends Text { }
public static class Euro extends Text { public void toHTML(ToHTML.HTML sb) { sb.entity(8364); } }
public static class Link extends Text {
- public Object word;
+ public Text[] text;
public URI href;
- public void toHTML(ToHTML.HTML sb) { sb.tag("a", new Object[] { "href", href }, word); }
+ public void toHTML(ToHTML.HTML sb) { sb.tag("a", new Object[] { "href", href }, text); }
}
public static class Entity extends Text {
public final String entity;