Since last version, 2.9.29 pro, at least that's when we noticed, JCE seems to want to turn URLs it finds in the content into links. For instance, with the following content:
<pre><a href="https://weeblr.com>testing</a></pre>
<pre> was inserted by JCE, after selecting the "Preformatted" format in the Format select toolbar tool.
Saving that post and viewing it on the site seems ok at first but editing again the post, and looking at the html source code by toggling the editor off, the <a> tag inside the code block has been turned into an actual active link. Toggling the editor off shows the content is now:
<p>Some link in content as code</p>
<pre><a href="https://www.joomlacontenteditor.net/"https://weeblr.com">testing</a></pre>
<p>end of test</p>
<p> </p>
Notice the addition " inside of the href, which was not there to start with. The editor now shows the link as active, which is likely because of a missing code tag:
See screenshot here: https://assets.weeblr.net/images/screenshots/weeblr-2022-08-19-10.56.57.png
Has something changed here? is "Preformatted" only applying a <pre> tag now? If so, how do we format a code block? First apply "PreFormatted", then select the content inside and apply "Code". That works but seems tedious and again, we have not done that in the many years of using JCE.
Thanks for shedding any light,
Best regards
Yannick Gaultier
weeblr.com / @weeblr