Codeinwp / tweet-old-post

Plugin to tweet about your old posts to get more hits for them and keep them alive.
GNU General Public License v2.0
13 stars 16 forks source link

HTML unstripped characters visible in the shared post #909

Closed irinelenache closed 2 months ago

irinelenache commented 6 months ago

Description

A user reported that he is changing the title tag directly and unstripped characters are visible in the shared post.

This is how the tag looks:</p> <p><img referrerpolicy="no-referrer" src="https://github.com/Codeinwp/tweet-old-post/assets/67897586/cc14d8de-ac92-423b-8171-8309cd6873b1" alt="image" /></p> <p>This is how the shared post looks:</p> <p><img referrerpolicy="no-referrer" src="https://github.com/Codeinwp/tweet-old-post/assets/67897586/faff93bd-6af3-4c58-9edb-fbec8ba5b045" alt="image" /></p> <p>Ticket here - <a rel="noreferrer nofollow" target="_blank" href="https://secure.helpscout.net/conversation/2500665190/403074?folderId=212385">https://secure.helpscout.net/conversation/2500665190/403074?folderId=212385</a></p> <h3>Step-by-step reproduction instructions</h3> <p>Didn't manage to reproduce it</p> <h3>Screenshots, screen recording, code snippet or Help Scout ticket</h3> <p><a rel="noreferrer nofollow" target="_blank" href="https://secure.helpscout.net/conversation/2500665190/403074?folderId=212385">https://secure.helpscout.net/conversation/2500665190/403074?folderId=212385</a></p> <h3>Environment info</h3> <p><em>No response</em></p> <h3>Is the issue you are reporting a regression</h3> <p>No</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>