|
a/src/internfile/mh_html.cpp |
|
b/src/internfile/mh_html.cpp |
|
... |
|
... |
50 |
bool MimeHandlerHtml::set_document_string(const string& htext)
|
50 |
bool MimeHandlerHtml::set_document_string(const string& htext)
|
51 |
{
|
51 |
{
|
52 |
m_html = htext;
|
52 |
m_html = htext;
|
53 |
m_havedoc = true;
|
53 |
m_havedoc = true;
|
54 |
|
54 |
|
|
|
55 |
if (!m_forPreview) {
|
55 |
// We want to compute the md5 now because we may modify m_html later
|
56 |
// We want to compute the md5 now because we may modify m_html later
|
56 |
string md5, xmd5;
|
57 |
string md5, xmd5;
|
57 |
MD5String(htext, md5);
|
58 |
MD5String(htext, md5);
|
58 |
m_metaData[cstr_dj_keymd5] = MD5HexPrint(md5, xmd5);
|
59 |
m_metaData[cstr_dj_keymd5] = MD5HexPrint(md5, xmd5);
|
59 |
|
60 |
}
|
60 |
return true;
|
61 |
return true;
|
61 |
}
|
62 |
}
|
62 |
|
63 |
|
63 |
bool MimeHandlerHtml::next_document()
|
64 |
bool MimeHandlerHtml::next_document()
|
64 |
{
|
65 |
{
|