Just wondering if it's possible and if yes how hard it is to extend the play.api.templates.Html class.
import java.lang.StringBuilder;
public class MyHtml extends play.api.templates.Html {
}
gives me the error:
error: constructor Html in class Html cannot be applied to given types;
this gives the same:
public class MyHtml extends play.api.templates.Html {
String text;
public MyHtml(String text) {
this.text = text;
}
}
Thank you