More formatting woes


  • Discourse touched me in a no-no place

    Continuing the discussion from Nice Post vs Mediocre Poster:

    backticked text

    fenced text with blank line at end
    
    

    more backticked text incorrectly formatted

    more fenced text to force the incorrect formatting above.
    

    Removing either

    • the second fenced text or
    • removing the blank line in the first fenced text

    makes the second backticked text display correctly.


  • SockDev

    hu-uh.... well formatting is hard.....



  • Normal text.

        Special text.
    

    Normal text.

        Special text.
    

    Normal text.

        Special text.
    ```</blockquote>
    
    I have absolutely no idea what this will look like when I post it...

  • SockDev

    ......

    :headdesk:



  • Yeah, apparently formatting is hard. Especially when the Preview window outright lies to you...



  • Take the raw of my post and paste it into the composer, compare the Preview with the actual result.

    The most frustrating thing is that it actually posts correctly for a couple of seconds, before going wrong (I guess the client-formatted version gets replaced by the server-formatted one), so it gives the impression that Discourse actually hates your posts and wants you to feel bad about it.


  • SockDev

    @tar said:

    Yeah, apparently formatting is hard. Especially when the Preview window outright lies to you...

    two different rendering engines.... of course that's going to happen!

    not that i'm defending it mind you.



  • @accalia said:

    two different rendering engines....

    TR :wtf:


  • SockDev

    @accalia said:

    two different rendering engines

    And neither renders the code blocks consistently…


  • SockDev

    @tar said:

    TR :wtf:

    Agreed.

    @RaceProUK said:

    And neither renders the code blocks consistently…

    which is :wtf:


  • BINNED

    @accalia said:

    two different rendering engines.... of course that's going to happen!

    I use two different rendering engines and it works consistently.

    Well, you can "break" the JS implementation if you're not careful, but that's due to DOM, not the rendering engine itself.



  • @tar said:

    it gives the impression that Discourse actually hates your posts and wants you to feel bad about it.

    "Impression"?


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.