@@ -403,14 +403,14 @@ class TextArea extends UI5Element {
403
403
}
404
404
405
405
_oninput ( event ) {
406
- const nativeTextarea = this . getInputDomRef ( ) ;
406
+ const nativeTextArea = this . getInputDomRef ( ) ;
407
407
408
408
/* skip calling change event when an textarea with a placeholder is focused on IE
409
409
- value of the host and the internal textarea should be different in case of actual input
410
410
- input is called when a key is pressed => keyup should not be called yet
411
411
*/
412
- const skipFiring = ( this . getInputDomRef ( ) . value === this . value ) && isIE ( ) && ! this . _keyDown && ! ! this . placeholder ;
413
- if ( event . target === nativeTextarea ) {
412
+ const skipFiring = ( nativeTextArea . value === this . value ) && isIE ( ) && ! this . _keyDown && ! ! this . placeholder ;
413
+ if ( event . target === nativeTextArea ) {
414
414
// stop the native event, as the semantic "input" would be fired.
415
415
event . stopImmediatePropagation ( ) ;
416
416
}
@@ -419,7 +419,7 @@ class TextArea extends UI5Element {
419
419
return ;
420
420
}
421
421
422
- this . value = nativeTextarea . value ;
422
+ this . value = nativeTextArea . value ;
423
423
this . fireEvent ( "input" , { } ) ;
424
424
425
425
// Angular two way data binding
@@ -456,7 +456,7 @@ class TextArea extends UI5Element {
456
456
}
457
457
458
458
_tokenizeText ( value ) {
459
- const tokenizedText = value . replace ( / & / gm, "&" ) . replace ( / " / gm, """ ) . replace ( / " / gm, "' ;" ) . replace ( / < / gm, "<" )
459
+ const tokenizedText = value . replace ( / & / gm, "&" ) . replace ( / " / gm, """ ) . replace ( / ' / gm, "&apos ;" ) . replace ( / < / gm, "<" )
460
460
. replace ( / > / gm, ">" )
461
461
. split ( "\n" ) ;
462
462
0 commit comments