Branch: Tag:

2013-11-17

2013-11-17 15:13:11 by Chris Angelico <rosuav@gmail.com>

Docs formatting fix - pass <example> text through quote(); also fix trivial typo

124:    break;       case "example": -  ret += "<p><pre>" + c->value_of_node() + "</pre></p>\n"; +  ret += "<p><pre>" + quote(c->value_of_node()) + "</pre></p>\n";    break;       case "ul":
483:   string parse_text(Node n, void|String.Buffer ret) {    if(n->get_node_type()==XML_TEXT && n->get_text()) {    if(ret) -  ret->add(quote(n->get_test())); +  ret->add(quote(n->get_text()));    else    return quote(n->get_text());    }