GrisouUQAM / wikiContributions

Help scientific wiki contributors get recognition
8 stars 11 forks source link

Une page test pour Google-Diff #8

Closed nikixiaoyou closed 11 years ago

nikixiaoyou commented 11 years ago

Puisque WEHA a sa page test dans notre code, nous devrions en faire autant pour Google-Diff, ça faciliterait les comparaisons entre les 2!

ialexca commented 11 years ago

Il faudrait faire un effort de trouver une façon d'extraire le texte du code HTML pour avoir des résultat comparatif a WEHA. Ref: https://code.google.com/p/google-diff-match-patch/wiki/Plaintext

nikixiaoyou commented 11 years ago

C'est fait, et j'ai ajouté la fonction "strip_tags" dans diffFunctions, ce qui retire tous les tags html d'un texte!