Changeset 1099


Ignore:
Timestamp:
Jun 13, 2010, 7:15:47 PM (11 years ago)
Author:
Peter Johansson
Message:

refs #279. add warning when trying anchor_format != svg when format is svg (which is currently not supported).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/html_utility.cc

    r1025 r1099  
    6868    const std::string& anchor_format =
    6969      Configuration::instance().image_anchor_format();
    70     if (format=="svg")
     70    if (format=="svg") {
    7171      os << "<object data='" << name << ".svg' type='image/svg+xml'"
    7272         << " width='600'>\n"
     
    7474         << " width='600' />\n"
    7575         << "</object>\n";
     76      if (anchor_format != "svg")
     77        std::cerr << "svndigest: anchor_format: " << anchor_format
     78                  << " not supported with format " << format << "\n";
     79    }
    7680    else if (format=="png") {
    7781      if (anchor_format=="none")
Note: See TracChangeset for help on using the changeset viewer.