692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
|
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
|
-
+
|
document.getElementById('res_o_within_quotation_marks').textContent = n1;
}
document.getElementById("o_group_ssp").checked = false;
this.switchGroup("o_group_ssp");
}
document.getElementById('progressbar').value = 1;
// espaces typographiques
// espaces insécables
if (document.getElementById("o_group_nbsp").checked) {
if (document.getElementById("o_nbsp_before_punctuation").checked) {
[sText, n1] = this.formatText(sText, "nbsp_before_punctuation");
[sText, n2] = this.formatText(sText, "nbsp_repair");
document.getElementById('res_o_nbsp_before_punctuation').textContent = n1 - n2;
}
if (document.getElementById("o_nbsp_within_quotation_marks").checked) {
|
715
716
717
718
719
720
721
722
723
724
725
726
727
728
|
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
|
+
+
+
+
|
[sText, n1] = this.formatText(sText, "nbsp_within_numbers");
document.getElementById('res_o_nbsp_within_numbers').textContent = n1;
}
if (document.getElementById("o_nbsp_before_units").checked) {
[sText, n1] = this.formatText(sText, "nbsp_before_units");
document.getElementById('res_o_nbsp_before_units').textContent = n1;
}
if (document.getElementById("o_nbsp_titles").checked) {
[sText, n1] = this.formatText(sText, "nbsp_titles");
document.getElementById('res_o_nbsp_titles').textContent = n1;
}
document.getElementById("o_group_nbsp").checked = false;
this.switchGroup("o_group_nbsp");
}
document.getElementById('progressbar').value = 2;
// espaces manquants
if (document.getElementById("o_group_typo").checked) {
|