Replace 'FILE_BODY' at the end

It rarely happens, if 'FILE_BODY' contains placeholders, it has to be
the last placeholder to be replaced.

https://bugzilla.gnome.org/show_bug.cgi?id=720886
This commit is contained in:
Techlive Zheng 2013-12-24 18:08:12 +08:00
parent 17dadb8b2f
commit b38f0f63e2

View File

@ -134,9 +134,9 @@ function diff_file(file, lnstate, data)
return exec_template(data.file_template, {
'STAGEBUTTON': lnstate.stagebutton,
'FILE_STATS': file_stats,
'FILE_PATH': file_path,
'FILE_BODY': file_body,
'FILE_STATS': file_stats,
});
}