/** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ define([ 'uiComponent' ], function (Component) { 'use strict'; return Component.extend({ /** * Prepare the product name value to be rendered as HTML * * @param {String} productName * @return {String} */ getProductNameUnsanitizedHtml: function (productName) { // product name has already escaped on backend return productName; }, /** * Prepare the given option value to be rendered as HTML * * @param {String} optionValue * @return {String} */ getOptionValueUnsanitizedHtml: function (optionValue) { // option value has already escaped on backend return optionValue; } }); });