Code Duplication    Length = 8-8 lines in 2 locations

ecrire/public/phraser_html.php 2 locations

@@ 943-950 (lines=8) @@
940
		$pos_milieu = $pos_parent;
941
942
		// Regarder si on a une partie conditionnelle avant <B_xxx>
943
		if ($boucle['pos_precond'] !== false) {
944
945
			$pos_debut_boucle = $boucle['pos_precond'];
946
947
			$pos_avant = $boucle['pos_precond_inside'];
948
			$result->avant = substr($texte, $pos_avant, $pos_courante - $pos_avant);
949
			$ligne_avant = $ligne_debut_texte +  public_compte_ligne($texte, $pos_debut_texte, $pos_avant);
950
		}
951
952
		// Regarder si on a une partie inconditionnelle avant <BB_xxx>
953
		if ($boucle['pos_preaff'] !== false) {
@@ 953-960 (lines=8) @@
950
		}
951
952
		// Regarder si on a une partie inconditionnelle avant <BB_xxx>
953
		if ($boucle['pos_preaff'] !== false) {
954
955
			$end_preaff = $pos_debut_boucle;
956
957
			$pos_preaff = $boucle['pos_preaff_inside'];
958
			$result->preaff = substr($texte, $pos_preaff, $end_preaff - $pos_preaff);
959
			$ligne_preaff = $ligne_debut_texte +  public_compte_ligne($texte, $pos_debut_texte, $pos_preaff);
960
		}
961
962
		$result->id_boucle = $id_boucle;
963