if (authors.size) {
// turns author into a string....
this.author = "";
- foreach(authors as a) {
+ foreach(var a in authors) {
this.author += (this.author == "") ? "": ", ";
this.author += a.desc;
}
// @desc
var descs = this.comment.getTag("desc");
if (descs.length) {
- this.desc = descs.map(function($){return $.desc;}).join("\n"); // multiple descriptions are concatenated into one
+ this.desc = "";
+ foreach(var d in desc) {
+ this.desc = this.desc == "" ? "": "\n";
+ this.desc += d.desc;
+ }
+
}
/*~t
var overviews = this.comment.getTag("overview");
if (overviews.length) {
- this.desc = [this.desc].concat(overviews.map(function($){return $.desc;})).join("\n");
+ foreach(var d in this.overviews) {
+ this.desc = this.desc == "" ? "": "\n";
+ this.desc += d.desc;
+ }
}
}