@@ -593,10 +593,11 @@ char *zTitle; int rid1, rid2; const char *zPageName; Manifest *pW1, *pW2 = 0; Blob w1, w2, d; + int diffFlags; login_check_credentials(); rid1 = atoi(PD("a","0")); if( !g.perm.History ){ login_needed(); return; } if( rid1==0 ) fossil_redirect_home(); @@ -621,14 +622,15 @@ blob_zero(&w2); if( rid2 && (pW2 = manifest_get(rid2, CFTYPE_WIKI))!=0 ){ blob_init(&w2, pW2->zWiki, -1); } blob_zero(&d); - text_diff(&w2, &w1, &d, 5 | DIFF_IGNORE_EOLWS); - @
-  @ %h(blob_str(&d))
-  @ 
+ diffFlags = construct_diff_flags(1,0); + text_diff(&w2, &w1, &d, diffFlags | DIFF_HTML | DIFF_LINENO); + @
+ @ %s(blob_str(&d)) + @
manifest_destroy(pW1); manifest_destroy(pW2); style_footer(); }