Skip to content

Commit ba6dc36

Browse files
committed
fix: carattere speciale in generazione xml
1 parent 405b681 commit ba6dc36

1 file changed

Lines changed: 13 additions & 12 deletions

File tree

plugins/exportFE/src/Validator.php

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2007,8 +2007,8 @@ public static function sanitizeXML2($string)
20072007
'' => 'mW',
20082008
'' => 'kW',
20092009
'' => 'MW',
2010-
'' => '',
2011-
'' => '',
2010+
'' => 'kohm',
2011+
'' => 'Mohm',
20122012
'' => 'a.m.',
20132013
'' => 'Bq',
20142014
'' => 'cc',
@@ -3804,7 +3804,8 @@ public static function sanitizeXML2($string)
38043804
'𝚽' => 'Φ',
38053805
'𝚾' => 'Χ',
38063806
'𝚿' => 'Ψ',
3807-
'𝛀' => 'Ω',
3807+
'Ω' => 'ohm',
3808+
'𝛀' => 'ohm',
38083809
'𝛁' => '',
38093810
'𝛂' => 'α',
38103811
'𝛃' => 'β',
@@ -3830,7 +3831,7 @@ public static function sanitizeXML2($string)
38303831
'𝛗' => 'φ',
38313832
'𝛘' => 'χ',
38323833
'𝛙' => 'ψ',
3833-
'𝛚' => 'ω',
3834+
'𝛚' => 'ohm',
38343835
'𝛛' => '',
38353836
'𝛜' => 'ε',
38363837
'𝛝' => 'θ',
@@ -3862,7 +3863,7 @@ public static function sanitizeXML2($string)
38623863
'𝛷' => 'Φ',
38633864
'𝛸' => 'Χ',
38643865
'𝛹' => 'Ψ',
3865-
'𝛺' => 'Ω',
3866+
'𝛺' => 'ohm',
38663867
'𝛻' => '',
38673868
'𝛼' => 'α',
38683869
'𝛽' => 'β',
@@ -3888,7 +3889,7 @@ public static function sanitizeXML2($string)
38883889
'𝜑' => 'φ',
38893890
'𝜒' => 'χ',
38903891
'𝜓' => 'ψ',
3891-
'𝜔' => 'ω',
3892+
'𝜔' => 'ohm',
38923893
'𝜕' => '',
38933894
'𝜖' => 'ε',
38943895
'𝜗' => 'θ',
@@ -3920,7 +3921,7 @@ public static function sanitizeXML2($string)
39203921
'𝜱' => 'Φ',
39213922
'𝜲' => 'Χ',
39223923
'𝜳' => 'Ψ',
3923-
'𝜴' => 'Ω',
3924+
'𝜴' => 'ohm',
39243925
'𝜵' => '',
39253926
'𝜶' => 'α',
39263927
'𝜷' => 'β',
@@ -3946,7 +3947,7 @@ public static function sanitizeXML2($string)
39463947
'𝝋' => 'φ',
39473948
'𝝌' => 'χ',
39483949
'𝝍' => 'ψ',
3949-
'𝝎' => 'ω',
3950+
'𝝎' => 'ohm',
39503951
'𝝏' => '',
39513952
'𝝐' => 'ε',
39523953
'𝝑' => 'θ',
@@ -3978,7 +3979,7 @@ public static function sanitizeXML2($string)
39783979
'𝝫' => 'Φ',
39793980
'𝝬' => 'Χ',
39803981
'𝝭' => 'Ψ',
3981-
'𝝮' => 'Ω',
3982+
'𝝮' => 'ohm',
39823983
'𝝯' => '',
39833984
'𝝰' => 'α',
39843985
'𝝱' => 'β',
@@ -4004,7 +4005,7 @@ public static function sanitizeXML2($string)
40044005
'𝞅' => 'φ',
40054006
'𝞆' => 'χ',
40064007
'𝞇' => 'ψ',
4007-
'𝞈' => 'ω',
4008+
'𝞈' => 'ohm',
40084009
'𝞉' => '',
40094010
'𝞊' => 'ε',
40104011
'𝞋' => 'θ',
@@ -4036,7 +4037,7 @@ public static function sanitizeXML2($string)
40364037
'𝞥' => 'Φ',
40374038
'𝞦' => 'Χ',
40384039
'𝞧' => 'Ψ',
4039-
'𝞨' => 'Ω',
4040+
'𝞨' => 'ohm',
40404041
'𝞩' => '',
40414042
'𝞪' => 'α',
40424043
'𝞫' => 'β',
@@ -4062,7 +4063,7 @@ public static function sanitizeXML2($string)
40624063
'𝞿' => 'φ',
40634064
'𝟀' => 'χ',
40644065
'𝟁' => 'ψ',
4065-
'𝟂' => 'ω',
4066+
'𝟂' => 'ohm',
40664067
'𝟃' => '',
40674068
'𝟄' => 'ε',
40684069
'𝟅' => 'θ',

0 commit comments

Comments
 (0)