views/mdc/assets/js/components/rich-text-area.js
Function convertLists
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function convertLists(richtext) {
const tempEl = window.document.createElement('div');
tempEl.setAttribute('style', 'display: none;');
tempEl.innerHTML = richtext;