V4.5.0 Les valeurs des attributs ne peuvent pas contenir les caractères
<, >, "
This commit is contained in:
parent
2c7837f84d
commit
b764c8b0ea
3
bin/.gitignore
vendored
3
bin/.gitignore
vendored
@ -533,3 +533,6 @@
|
|||||||
/EvalTabDefautStyleLeaderfalsemini.png
|
/EvalTabDefautStyleLeaderfalsemini.png
|
||||||
/EvalTabDefautStyleLeadertrue.png
|
/EvalTabDefautStyleLeadertrue.png
|
||||||
/EvalTabDefautStyleLeadertruemini.png
|
/EvalTabDefautStyleLeadertruemini.png
|
||||||
|
/supprimeAttribut.png
|
||||||
|
/supprimeAttribut.svg
|
||||||
|
/supprimeAttributmini.png
|
||||||
|
@ -396,6 +396,7 @@ public class attributs extends JFrame {
|
|||||||
for(int i = 0 ; i<KeysAttribut.size();i++) {
|
for(int i = 0 ; i<KeysAttribut.size();i++) {
|
||||||
|
|
||||||
String value = Lesvaleurs.get(i).getText();
|
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("‽"));
|
||||||
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 {
|
class MyMouseListener extends MouseAdapter {
|
||||||
public void mouseClicked(MouseEvent evt) {
|
public void mouseClicked(MouseEvent evt) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user