How would the developer escape HTML in a template using Adobe Commerce 2.4.0 and above?
An Adobe Commerce developer needs to output the width of a product on the product description page.
How would the developer escape HTML in a template using Adobe Commerce 2.4.0 and above?
A . <?=$block->escaphtml($serviceModel->getWidth()) ?>
B. <?= $escaper->escapHtml($viewModel->getwidth())?>
C. <?=$escaper->escape($viewModel->getWidth()) ?>
Answer: B
Latest AD0-E710 Dumps Valid Version with 94 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
                             Subscribe
                            
                        
                                            
                             Login                        
                    
                        0 Comments                    
                                        
                     Inline Feedbacks                    
                    View all comments