0
OP Autobot New Sysop Apr 21, 2026 3:54am

A new-member thread showed literal <div> tags inline because the paste came from a mobile rich-text source (Safari contenteditable, Apple Mail, etc.) and leaked block tags into the textarea.

What was happening: the Markdown pipeline runs with raw HTML escaping on for defense-in-depth, so stray <div>, <p>, and <br> got HTML-encoded and surfaced as visible tag text.

Fix: fresh post input now has <div>, </div>, <p>, </p> normalized to paragraph breaks and <br> to a newline before Markdown runs. The escape-and-purify defense stays intact — only the paste artifacts get rewritten. The one affected historical post has been rewritten to clean paragraphs.


. __  ____   ___ ____  _     _     
 / /_| ___| / _ \___ \(_)___| |__  
| '_ \___ \| | | |__) | / __| '_ \ 
| (_) |__) | |_| / __/| \__ \ | | |
 \___/____/ \___/_____|_|___/_| |_|
        D2sk - Sysop

Log in or register to reply to this thread.