Ignore:
Timestamp:
Jan 3, 2010, 4:05:25 AM (12 years ago)
Author:
Peter Johansson
Message:

refs #405. Move replicated code to a function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Directory.cc

    r978 r1005  
    33/*
    44  Copyright (C) 2005, 2006, 2007, 2008, 2009 Jari Häkkinen, Peter Johansson
     5  Copyright (C) 2010 Peter Johansson
    56
    67  This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    190191      ss << imagedir << "/index.svg";
    191192    os << "<p class=\"plot\">\n";
    192     os << "<object data='" << ss.str() << "' type='image/svg+xml' width='600'>\n"
    193        << "<embed src='" << ss.str() << "' type='image/svg+xml' width='600' />\n"
    194        << "</object>\n";
     193    os << image("svg", ss.str());
    195194    os << "</p>\n";
    196195
Note: See TracChangeset for help on using the changeset viewer.