public String render(){
        if(checkAllAttributes()){
            String result = "";
            content = content.replaceAll("\\]", "\\[");
            String[] rs = content.split("\\[");
            for (int i = 0; i < rs.length; i++) {
                if (i % 2 == 0) {
                    result += rs[i];
                } else {
                    result += attributes.get(rs[i]);
                }
            }
            return result;
        } else {
           return "Not all attributes have a value yet";
        }
    }