Kawai Wiki

Rev

Rev 198 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 198 Rev 202
Line 48... Line 48...
48
        if (indent) sb.append("<ul>");
48
        if (indent) sb.append("<ul>");
49
        sb.append(buildOpenShTag(attrs));
49
        sb.append(buildOpenShTag(attrs));
50
        sb.append(escapeAngleBrackets(html));
50
        sb.append(escapeAngleBrackets(html));
51
        sb.append("</pre>");
51
        sb.append("</pre>");
52
        if (indent) sb.append("</ul>");
52
        if (indent) sb.append("</ul>");
53
        sb.append("<br/>");
-
 
-
 
53
       
-
 
54
        boolean noBR = false;
-
 
55
        if (attrs.containsKey("noBR")) {
-
 
56
                noBR = attrs.get("noBR").equals("true");
-
 
57
        }
-
 
58
        if (!noBR) sb.append("<br/>");
54
        return sb.toString();
59
        return sb.toString();
55
    }
60
    }
56
61
57
    /**
62
    /**
58
     * Escapes the angle brackets.
63
     * Escapes the angle brackets.