"No transformation is done to user-posted content at input time."
None?
Your explanation seems contradictory.
If no transformations are done than what's in the database would be the raw URL encoded text=gibberish. Not some special PerlMonks code or html subset or whatever.
I'll need to follow that link when I have time, but I find it hard to believe no basic form processing is done prior to applying any special formatting, which would explain why it is not fixable.
Or seemingly so, because the newline is being stripped at some lower level before any special formatting is applied.
I suspect the newline is being stripped before the post goes into the database.
If so, it has nothing to do with anything applied later. Once stripped, the newline is gone so there is nothing to perform a replacement on, or do anything else with.
The Everything engine apparently uses CGI.pm for basic form data processing on a low level, prior to anything else being applied, before the data goes into the database
Tom
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.