Switch to unified view

a/src/internfile/mh_html.cpp b/src/internfile/mh_html.cpp
...
...
120
    m_metaData["origcharset"] = m_defcharset;
120
    m_metaData["origcharset"] = m_defcharset;
121
    m_metaData["content"] = result.dump;
121
    m_metaData["content"] = result.dump;
122
    m_metaData["charset"] = "utf-8";
122
    m_metaData["charset"] = "utf-8";
123
    m_metaData["title"] = result.title;
123
    m_metaData["title"] = result.title;
124
    m_metaData["keywords"] = result.keywords;
124
    m_metaData["keywords"] = result.keywords;
125
    // Avoid setting empty values which would crush ones possibly inherited
126
    // from parent (if we're an attachment)
127
    if (!result.author.empty())
125
    m_metaData["author"] = result.author;
128
  m_metaData["author"] = result.author;
129
    if (!result.dmtime.empty())
126
    m_metaData["modificationdate"] = result.dmtime;
130
  m_metaData["modificationdate"] = result.dmtime;
127
    m_metaData["sample"] = result.sample;
131
    m_metaData["sample"] = result.sample;
128
    m_metaData["mimetype"] = "text/plain";
132
    m_metaData["mimetype"] = "text/plain";
129
    return true;
133
    return true;
130
}
134
}