V4.5.0 Les valeurs des attributs ne peuvent pas contenir les caractères

<, >, "
This commit is contained in:
pablo rodriguez 2024-04-15 11:36:25 +02:00
parent 2c7837f84d
commit b764c8b0ea
2 changed files with 4 additions and 3 deletions

3
bin/.gitignore vendored
View File

@ -533,3 +533,6 @@
/EvalTabDefautStyleLeaderfalsemini.png
/EvalTabDefautStyleLeadertrue.png
/EvalTabDefautStyleLeadertruemini.png
/supprimeAttribut.png
/supprimeAttribut.svg
/supprimeAttributmini.png

View File

@ -396,6 +396,7 @@ public class attributs extends JFrame {
for(int i = 0 ; i<KeysAttribut.size();i++) {
String value = Lesvaleurs.get(i).getText();
value = value.replaceAll("\\<|\\>|\\\"", "");
if(value.contains("")) value = value.substring(0,value.lastIndexOf(""));
if(value.contains("")) value = value.substring(0,value.lastIndexOf(""));
@ -494,9 +495,6 @@ public class attributs extends JFrame {
}
class MyMouseListener extends MouseAdapter {
public void mouseClicked(MouseEvent evt) {