• Multiple lines of code show up as one line

    Author
    Topic
    #2695632

    If I enclose the following lines of code in a blockquote element, they show up as multiple lines as expected.

    taskkill /f /im explorer.exe
    cd /d %userprofile%\AppData\Local
    attrib -h IconCache.db
    del IconCache.db
    start explorer

    However, those same lines show up as one line when enclosed in a code element:

    taskkill /f /im explorer.exe
    cd /d %userprofile%\AppData\Local
    attrib -h IconCache.db
    del IconCache.db
    start explorer

    Is it possible to fix the code element in these forums to allow multiple lines?

    Viewing 0 reply threads
    Author
    Replies
    • #2695828

      Instead of using the code element use preformatted.

      taskkill /f /im explorer.exe
      cd /d %userprofile%\AppData\Local
      attrib -h IconCache.db
      del IconCache.db
      start explorer
      1 user thanked author for this post.
    Viewing 0 reply threads
    Reply To: Multiple lines of code show up as one line

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: