Custom HTML Block Content Becoming Altered At Loading In Widgets Page
-
Hi!
I have a problem on my site; where in the Widgets section of the administration panel some of my Custom HTML blocks, after being saved and output correctly, become different when loading the blocks again in the Widgets page.
Typically <p> elements are added, and other elements are changed. For example I have this Custom HTML, as I have saved it and as it is output to the HTML:
<span id="js-fargval-toggle" class="js-val-toggle"> <div class="hamburger_icon_container"> <span class="valjutseenderubrik">V?lj webbplatsf?rger: </span> </div> <span class="fargval_alternativ fargval_cursor" id="js_fargval_ljust">Ljusa</span><span class="techsaker_span_selection_separator">|</span><span class="fargval_alternativ fargval_cursor" id="js_fargval_morkt">M?rka</span> </span>
And when I open the widgets page, it shows the following:
<p><span id="js-fargval-toggle" class="js-val-toggle"></span></p> <div class="hamburger_icon_container"> <span class="valjutseenderubrik">V?lj webbplatsf?rger: </span> </div> <p> <span class="fargval_alternativ fargval_cursor" id="js_fargval_ljust">Ljusa</span><span class="techsaker_span_selection_separator">|</span><span class="fargval_alternativ fargval_cursor" id="js_fargval_morkt">M?rka</span><br> </p>
If I actually make an adjustment and save the widgets, it will save this new code. Does anyone know why this happens? It happens to many of my Custom HTML blocks, and it seems to be a bug. I’m using WordPress version 5.8.3 .
Regards,
Almir
- The topic ‘Custom HTML Block Content Becoming Altered At Loading In Widgets Page’ is closed to new replies.