In the “Preformatted Text” section of the formatting help, it says “As an alternative to indenting, you can use 4 or more tildes before and after the text.” However apparently four or more tildes anywhere in a line is interpreted as the end of the preformatted text, which causes the preformatted text to end prematurely if the preformatted text itself actually contains four or more tildes!
For example, here is a an error message the clang compiler generated when trying to compile SourceForge-hosted project sdcv, about which I was trying to submit a bug report:
./src/lib/file.hpp:11:38: error: no type named 'function' in namespace 'std' const std::function<void (const std::string&, bool)>& f); ~~~~~^ ./src/lib/file.hpp:11:46: error: expected ')' const std::function<void (const std::string&, bool)>& f); ^
Even though I've used eight tildes in delimiting this preformatted text block, the block is prematurely ended by the five tildes in the error message (which are also swallowed and not displayed).
Even if I use the other method, of indenting by 4 spaces, it does not work correctly.
Please reconsider how your preformatted text detection works so that one can post preformatted text which happens to contain runs of tildes.
Log in to post a comment.