Switch to side-by-side view
--- a/src/rcldb/rcldoc.h +++ b/src/rcldb/rcldoc.h @@ -179,7 +179,10 @@ } else if (mit->second.empty()) { mit->second = value; } else { - mit->second += string(" - ") + value; + // It may happen that the same attr exists several times + // in the internfile stack. Avoid duplicating values. + if (mit->second != value) + mit->second += string(" - ") + value; } return true; }