Branch: Tag:

2009-04-07

2009-04-07 09:12:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed quoting of attribute values.

Rev: lib/modules/Tools.pmod/AutoDoc.pmod/DocParser.pmod:1.63

633:    string|mapping(string:string) args = getArgs(keyword, arg);    if (mappingp(args))    foreach(indices(args), string s) -  res += " " + s + "=\"" + args[s] + "\""; +  res += " " + s + +  "=\"" + Parser.encode_html_entities(args[s]) + "\"";    res += ">";    if (stringp(args))    res += args;
710:    string|mapping(string:string) args = getArgs(keyword, arg);    if (mappingp(args)) {    foreach(indices(args), string s) -  res += " " + s + "=\"" + args[s] + "\""; +  res += " " + s + +  "=\"" + Parser.encode_html_entities(args[s]) + "\"";    res += "/>";    }    else if (stringp(args))