Windy31's Profile, Net Worth, Age, Height, Relationships, FAQs

Publish date: 2024-05-31
', '']; return !pattern.test(line.trim()); } function postProcessHTML(processedData) { processedData = processedData.replace(/\u200b/g, ''); processedData = processedData.replace(/\u00a0/g, ' '); // replace   with space if (processedData.trim() === "") { return ""; } processedData = processedData.replace(/

<\/p>/g, '

'); processedData = processedData.replace(/

​<\/p>

​<\/p>$/, '

​<\/p>'); //Encapsulate img and figcaption tags inside figure tag var imgMatches = processedData.matchAll(/(()(.*?<\/figcaption>)*)/g); var imgMatchesArr = Array.from(imgMatches) imgMatchesArr.forEach(function(imgMatch) { if (imgMatch[3] && imgMatch[3].startsWith("' + imgMatch[0] + ''); } }); return processedData } function preProcessData(intermediateHTMLData) { intermediateHTMLData = intermediateHTMLData.replace(/(\n)|(\n)/g, ''); intermediateHTMLData = intermediateHTMLData.replace(/()+/g, ''); return intermediateHTMLData; } function getContentBlocksArray(intermediateHTMLData) { var contentBlocksArray = intermediateHTMLData.split(/\n|/); var newContentBlocksArray = []; for (var z = 0; z < contentBlocksArray.length; z++) { var oneBlockElementData = contentBlocksArray[z]; if (oneBlockElementData.indexOf(' -1) { var lastElementIndex = oneBlockElementData.lastIndexOf(" 0) { newContentBlocksArray.push(afterList); } } else if(oneBlockElementData.indexOf('') > -1) { var lastElementIndex = oneBlockElementData.lastIndexOf("") + "".length; var table = oneBlockElementData.substring(0, lastElementIndex); var afterTable = oneBlockElementData.substring(lastElementIndex); newContentBlocksArray.push(table); if (afterTable.length > 0) { newContentBlocksArray.push(afterTable); } } else { newContentBlocksArray.push(oneBlockElementData); } } return newContentBlocksArray; } function handleHeaderElements(oneBlockElementData) { while (oneBlockElementData.indexOf(' -1) { var index = oneBlockElementData.indexOf('', ''); oneBlockElementData = '' + oneBlockElementData + ''; } return oneBlockElementData; } function handleBlockquoteElements(oneBlockElementData) { while (oneBlockElementData.indexOf('') > -1) { oneBlockElementData = oneBlockElementData.replace('', ''); oneBlockElementData = '' + oneBlockElementData + ''; } return oneBlockElementData; } function handleFigCaptionElements(oneBlockElementData) { while (oneBlockElementData.indexOf('') > -1) { oneBlockElementData = oneBlockElementData.replace('', ''); oneBlockElementData = '' + oneBlockElementData + ''; } return oneBlockElementData; } function handleAlignElements(oneBlockElementData) { while (oneBlockElementData.indexOf(' -1) { var indexStart = oneBlockElementData.indexOf(''); var alignVal = oneBlockElementData.substring(indexStart, indexEnd); oneBlockElementData = oneBlockElementData.replace('', ''); oneBlockElementData = '

' + oneBlockElementData + '

'; } return oneBlockElementData; } function handleListElements(oneBlockElementData) { if (oneBlockElementData.indexOf(' -1) { var elementAfterListData = oneBlockElementData; var myRegexp = /(.*?)/g; var listElemArr = []; var match; while ((match = myRegexp.exec(oneBlockElementData)) !== null) { var elem = []; elem['type'] = match[2]; elem['data'] = match[1] listElemArr.push(elem); elementAfterListData = elementAfterListData.replace(match[0], ''); } var currentListType = listElemArr[0].type; var listData = '<' + currentListType + '>'; for (let i = 0; i < listElemArr.length; i++) { listElem = listElemArr[i]; if (listElem.type === currentListType) { listData += '
  • ' + listElem.data + '
  • '; } else { listData += '' + currentListType + '>' + '<' + listElem.type + '>'; listData += '
  • ' + listElem.data + '
  • '; currentListType = listElem.type; } } listData += '' + currentListType + '>'; if (elementAfterListData.trim().length > 0) { if (!checkIfLineAnyEnclosingTag(elementAfterListData.trim())) { elementAfterListData = elementAfterListData; } else { elementAfterListData = '

    ' + elementAfterListData + '

    '; } } oneBlockElementData = listData + elementAfterListData; } return oneBlockElementData; } function handleTableElements(oneBlockElementData) { if (oneBlockElementData.indexOf('') > -1) { var elementAfterTableData = oneBlockElementData; var myRegexp = /(.*?)(

    '; } } oneBlockElementData = tableData + elementAfterTableData; } // while placeholder tr is present var index = oneBlockElementData.indexOf(''); while(index >= 0) { // get substring before tr placeholder var strBeforePlaceholder = oneBlockElementData.substring(0, index); // remove the current occurance of placeholder tr oneBlockElementData = strBeforePlaceholder + oneBlockElementData.substring(index + ''.length); // find first opening td, and add tr tags var firstClosingTdTagBeforeTr = strBeforePlaceholder.lastIndexOf(''); if(firstClosingTdTagBeforeTr > 0) { firstClosingTdTagBeforeTr += ''.length; if(firstClosingTdTagBeforeTr >= 0) { oneBlockElementData = oneBlockElementData.substring(0, firstClosingTdTagBeforeTr) + '' + oneBlockElementData.substring(firstClosingTdTagBeforeTr); } } // look for more occurances of placeholder tr index = oneBlockElementData.indexOf(''); } // while placeholder table is present var index = oneBlockElementData.indexOf(''); while(index >= 0) { // get substring before table placeholder var strBeforePlaceholder = oneBlockElementData.substring(0, index); // remove the current occurance of placeholder table oneBlockElementData = strBeforePlaceholder + oneBlockElementData.substring(index + ''.length); // find last closing tr, and add table tags var firstClosingTrTagBeforeTable = strBeforePlaceholder.lastIndexOf(''); if(firstClosingTrTagBeforeTable > 0 ) { firstClosingTrTagBeforeTable += ''.length; if(firstClosingTrTagBeforeTable >= 0) { oneBlockElementData = oneBlockElementData.substring(0, firstClosingTrTagBeforeTable) + '' + oneBlockElementData.substring(firstClosingTrTagBeforeTable); } } // look for more occurances of placeholder table index = oneBlockElementData.indexOf(''); } return oneBlockElementData; } function sendErrorsIfProperHTMLDataHasIntermediateHTMLTags(properHTMLData, deltaData) { if (properHTMLData.indexOf(' -1) { if (!deltaData) deltaData = quill.getContents(); console.error('EDIOTR HTML PARSING ERROR: HTML has intermediate tags. HTML: ' + properHTMLData + ' AND delta: ' + JSON.stringify(deltaData)); Rollbar.error('EDIOTR HTML PARSING ERROR: HTML has intermediate tags. HTML: ' + properHTMLData + ' AND delta: ' + JSON.stringify(deltaData)); } } function getTagMappingForThisBlot(blot) { var blotToTagMapping = { bold: 'strong', italic: 'em', underline: 'u', strike: 's', }; return blotToTagMapping[blot]; } return { getEditorHTML: getEditorHTML, sanitizeHTML: sanitizeHTML } })();

    Search Getty

    Upload Image

    Upload

    Search Getty

    Upload Image

    Insert Table Insert Row Above Insert Row Below Insert Column Left Insert Column Right Delete Row Delete Column Delete Table

    ✅ Thanks! Help us improve this pageEdit WikiEditFeedback

    How can we improve?

    Cancel Submit

    Popular In YouTube Wiki

    right-iconleft-icon

    Comments

    comments icon

    Sort by:

    Show More Comments show-moreProfile picture

    Comment in moderation

    pendingGIF

    Cancel

    Send Icon Update Profile pictureGIF

    Trending Topics

    Important Links

    Download App

    playstore iconappstore icon

    Copyright @ 2023 Sportskeeda

    No Results Found

    🔥 Popular

    🏃🏻‍♀️ Sports (30+)

    🔗 LINKS

    Edition:

    ncG1vNJzZmivmaC2b7%2FPqKmtq5uasqWtjZympmeppMK1wcGeZrCgn2K2tHnWoqWdsWNm