Correction problème affichage pour l'attribut allContent.

This commit is contained in:
pablo rodriguez 2022-06-09 20:55:42 +02:00
parent adf591a178
commit 5df2e044bf
4 changed files with 2 additions and 1 deletions

Binary file not shown.

1
bin/.gitignore vendored
View File

@ -2,3 +2,4 @@
/recherchecontenuplusprochevoisin.svg
/recherchecontenuplusprochevoisinmini.png
/MEPTL/
/app/

Binary file not shown.

View File

@ -78,7 +78,7 @@ public class afficheText extends JEditorPane {
for(int i=0; i < Lesattributsdunode.size();i++) {
if(listeAttributsAnalyseWriter.isAttributAnalyseWriter(Lesattributsdunode.get(i))) {
if(Lesattributsdunode.get(i).equals("allContent")) {
Pattern p = Pattern.compile("[1-9]$");
Pattern p = Pattern.compile("[1-9]$|[0-9]{2,}$");
Matcher m = p.matcher(nod.getAttributs().get(Lesattributsdunode.get(i)));
if(m.find()) {
sb.append("<li class=\"p4\">"+imageAllContent + " <b>" + Lesattributsdunode.get(i) + "=\"" + nod.getAttributs().get(Lesattributsdunode.get(i))+"\"</b></li>");